Day Planner Report
I'm attempting to create a report that displays records in an appointment database table in a grid layout similar to a 5-day planner view.
The trouble I am having is:
Say I have 3 appointments, one each on Monday, Wednesday, and Friday, at 10 am. The way I am attempting to do it, these appointments appear on different lines in the report (but in their correct day columns (M-F)) instead of appearing all on the same line (in separate columns) like a 5-day planner looks.
Does anyone have any suggestions on how something like this could be achieved?
Thanks.
Try Pivoting the data......
Check for articles on Pivoting IN SQL
Cheers
Rahul
Similar Messages
-
Looking for someone to script a Day Planner to a specific size and style.
Hi,
Looking for someone to script a year long Day Planner in Indesign CC. I've tried one or two scripts available out there but none seem to be able to accomplish what I need.
I would envisage the rolling requirements.
2015
Day per page
Set to a specific Design Style
Fully Editable style hierarchy
Ability to add in pages without kicking anything out
Include Month with highlighted day on right hand page only
Add localised public holidays
Add another list of 'special dates'
Fit size 148.5mm W x 210mm H (would be great to have it scaleable but not essential)
All/any help appreciated. Here's a screen shot of the desired result.Hi Jarek,
Thanks for the response!
The script needs to create the pages in an Indesign Doc.
One the pages are created we would be adding in custom pages at beginning and at other periodic stages in the document.
Let me know if there's anything else you need
Mark -
"Day-Timer" "Day Runner" "Day Planner"
Greetings,
Thru out the afternoon, I have been playing hide-and-go seek in Goggle and Apple Discussions. I am searching for an Apple "Day-Timer" "Day Runner" "Day Planner" type product. I use iCal and Address Book ... they don't offer the variety of features on several PC planners.
It would be wonderful to find an Apple application which I can use on my MacBook (#1 priority) and iTouch. Hope it is out there & someone can point me in the right direction.
Kind regards,
Bill Siegrist
[email protected]I am searching for an Apple "Day-Timer" "Day Runner" "Day Planner" type product. I use iCal and Address Book ... they don't offer the variety of features on several PC planners.
What are those features? If you don't tell us, we can't give appropriate recommendations. (Especially since I'm not sure what a "day timer" and "day runner" are.) If iCal does not fit the bill, you will have to look to a third-party, as iCal is Apple's only entry in the calendar market. -
Hi Experts,
How to create daywise reports in BW.if the end user enters the from date as 01/05/2009 to 10/05/2009, in report, i need to show data that is aggregated as daywise.It should display on daywise. I have created query on Infoset,which is pulling data from 2 ODS.
Can u pls help on this issue.
Thanks,
Ram.Hi..
for displaying day wise report, you need a field having date of the record. ex. posting date. Now in query restrict that date field with a variable to allow user input interval for that date field. It will automatically show fields (which you have put in row & col section including date field) day wise.
hope it helps. if still you have problem in it, pls give more detail about your fields. -
i am doing day report. it should show the details of empname and amount every day. I am using the below query ..
select a.Extra_Amount,a.Emp_Name,to_date(b.days,'DD-MM-YYYY')
from (select api1.invoice_type_lookup_code
, api1.invoice_num prepay_invoice
, nvl(api1.invoice_amount,0) Prepay_amount
, api2.invoice_num Applied_invoice
, nvl((-1)*aid1.amount,0) Applied_amount
, nvl(api1.invoice_amount,0) - nvl((-1)*aid1.amount,0) Extra_Amount
, ppf.title||' '||ppf.first_name ||' '||ppf.last_name Emp_Name
, to_char(api1.invoice_date,'DD-MON-YYYY') invoice_dates
, api2.invoice_date
from ap_invoices_all api1
, ap_invoice_distributions_all aid
, ap_invoice_distributions_all aid1
, ap_invoices_all api2
, po_vendors pov
, po_vendor_sites_all povs
, per_all_people_f ppf
, per_all_assignments_f paa
where api1.invoice_type_lookup_code='PREPAYMENT'
and api1.invoice_id=aid.invoice_id
and api1.vendor_id=pov.vendor_id
and api1.invoice_date<=nvl(:P_TO_DATE,api1.invoice_date)
and ppf.person_id=paa.person_id
and sysdate between ppf.effective_start_date and ppf.effective_end_date
and sysdate between paa.effective_start_date and paa.effective_end_date
and pov.vendor_id=povs.vendor_id
and COALESCE(api2.invoice_date-api1.invoice_date, 10)>5
and ppf.employee_number=povs.vendor_site_code
and api1.vendor_site_id=povs.vendor_site_id
and aid.invoice_distribution_id=aid1.prepay_distribution_id(+)
and aid1.invoice_id=api2.invoice_id(+)
and nvl(aid1.reversal_flag,'N')!= 'Y'
and api1.vendor_id=78009
and api1.org_id=nvl(:P_ORG_ID,api1.org_id) )a
, (select to_char(c.day,'DD-MON-YYYY') days
from (select date '2007-03-31' + level day from dual connect by level <=1000) c) b
where a.invoice_dates(+)=b.days
group by to_date(b.days,'DD-MM-YYYY'),a.Extra_Amount,a.Emp_Name
i am getting the result
i am getting the amount for an employee on a perticular day.
but i should display the amount every day from which i got the day to to_date
and one more problem i have
select date '2007-03-31' + level day from dual connect by level <=1000)
i am passing the date as hard code but i have to pass that as parameter
please help to solve.
Thanks in Advance
VenuSQL> select to_date('&date','dd-mon-yyyy') from dual
2 /
Enter value for date: 01-jan-07
old 1: select to_date('&date','dd-mon-yyyy') from dual
new 1: select to_date('01-jan-07','dd-mon-yyyy') from dual
TO_DATE('
01-JAN-07
Or
SQL> var d varchar2(20)
SQL> exec :d:='01-jan-2007'
PL/SQL procedure successfully completed.
SQL> select to_date(:d,'dd-mon-yyyy') from dual;
TO_DATE(:
01-JAN-07Regards
Singh -
KMTL - How to add Column for OVER DUE DAYS in report
Dear Concern,
We are Microsoft Dynamics NAV 2013 users, We want a little change on Reminder Report (In report there is due date we inserted column for OVER DUE DAYS right side to Due Date column in we required Expression of which type of formula that
shows us the Over Due Days for particular.
Please every one confirm or suggest for this error.
Thanks & regards,
Laxman SonarHi Laxman Sonar,
Per my understanding that you have an date field(Due Date) in the report and now you want to get the over due days based on this field and display at right of the date field in the report, right?
I have tested on my local environment that we have two method to do this, one is to add the datediff functon in the query to get the overdue days and another method is to using expression in the report.
Details information below for your reference:
Method one:
Modify the query as below to get the new field(OverDue Days):
SELECT DueDate, DATEDIFF(day, DueDate, GETDATE()) AS OverDueDays
FROM tableName
Method Two:
Add an calculated fields and then add the expression below to get the value for this field or just add expression directly in the new field:
=Datediff("d",Fields!DueDate.Value,Today())
If your problem still exists, please try to provide us some sample date and more details information about your requirements.
Regards,
Vicky Liu
Vicky Liu
TechNet Community Support -
Hi Experts ,
I have a requirement for the report, where for the current week it should display the respective week and then day wise.
I have created a variable where it is taking the current week but i need to know how i can make that report display day wise.
Kindly help,
Thanks in advance ,
M.SHi M.S.,
Unfortunately you will not be able to generate any Characteristic values in the Report/Queries which is not present in the Cube/DSO etc directly.
But you can achieve this through "Virtual Characteristics". But performance wise, it might be little slower.
Pls go through the below link.
https://wiki.sdn.sap.com/wiki/display/BI/FiveWaystoEnhanceBIFunctionalityUsingABAP--PartIV--VirtualInfoCubes%2CKeyFigures%2Cand+Characteristics
I would suggest you to add the 0CALDAY, 0CALMONTH, 0CALYEAR & 0CALWEEK to your infocube and do a Time Conversion. It is the best way. Fortunately you dont have to delete the data, you can make use of the "Remodelling" option available in the BI7.x version.
Pls award points, if helpful.
Regards,
Chathia. -
Printing addresses for day planner
Hi,
I want to print out an address book for my filofax address book and I am having a hard time figuring out how to do it. The program that filofax makes does not run on a mac.
any suggestions? I would like it doublesided and I want to be able to print at least six addresses on a page. I tried a palm pilot print out work around, but it doesn't work because you can only print four addresses on a page and that would make for a huge address book.
thanks in advance,
KatarinaUse a script
This fast one (5 minutes) inserts all dates for the coming year. Jan 1st is a friday, hence it starts with 'weekday = 5'.
var months = [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ];
var length = [ 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 ];
var days = [ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ];
count = 0;
day = 0;
month = 0;
weekday = 5;
str = "";
while (count < 365)
count++;
str += days[weekday]+", "+(day+1)+" "+months[month]+"\r";
day++;
if (day >= length[month])
day = 0;
month++;
if (month > 11)
month = 0;
weekday = (weekday+1) % 7;
app.selection[0].contents = str;
Copy, paste into a plain text editor (InDesign's own ESTK is good) and save as "writeWeekdays.jsx" in your Scripts folder. Create a new text frame, have it selected, then double-click the script. -
Switching dimensions depending on time of the day the report is accessed
Hi,
We have a requirement where one of the dimension tables - ACCOUNT is unavailable during 6 pm - 8 pm and the query should go to ACCOUNT_BKUP table instead of ACCOUNT table during that time period. In other words, we want the query to go against ACCOUNT_BKUP table when a user accesses the report between 6 and 8 pm everyday and against ACCOUNT table during any other time. What is the best approach to model this scenario?
Edited by: vahibg on Aug 20, 2009 12:05 AMHi,
Try something with stored procedure ..
Outline of store procedure as follows
CREATE OR REPLACE PROCEDURE fetchdata ( p_cursor OUT refc)
IS
TYPE refc IS REF CURSOR;
BEGIN
SELECT startDate,endDate INTO a,b FROM limitationTime;
SELECT SYSDATE INTO curDateTime FROM dual;
IF a < curDateTime or b>curDateTime THEN
OPEN p_cursor FOR
SELECT *
FROM account;
ELSE
OPEN p_cursor FOR
SELECT *
FROM account_BACKUP;
END IF;
END fetchdata;
hope it helped
--Srinivas -
Day planner type calendar script
Is there a script that would help create a calendar like the attached image?
Thanks,
PhilYou can find lots of usefull scripts at the Adobe Exchange site, look at this for example:
http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&loc=en_us&extid=1046 667
If you need a script to build a specific style of calandar you will probably need a tailer-made solution (script) to do so.
Do you have a sample InDesign document that shows layout and styling and maybe more specifications and wishes? -
User exit for display of first day in report
Hello friens,
I have to design a query in which my user want to see following way
Billed Packs----
Week1 Week 2...................week 52
packA
packB
Now user want to see the aggregated bill packs for each week.
And user does not want to see Week numbers , for e.g.
Billed Packs----
01/20xx 02/20xx 03/20xx ....................
packA
packB
User want to see the Start date of that week which means Date of Monday for each week instead.
Now it is not defined, for how much weeks user want to see , so i created a interval range variable for Week selection.
Now from previous posts i learnt that to display Start date of Monday for each week I HAVE TO CREATE A USER EXIT.
And also create text variable which then i will be using in Description to do the same.
Can you please send me STEP BY STEP for same.
Can all of you please send me Code for creating user exit
Can you please send me some sample codes and sample documents for the same.
My email id is [email protected]
Points will be awarded.As you said "<i>Now it is not defined, for how much weeks user want to see , so i created a interval range variable for Week selection</i>.", how can you decide about the number of KFs in the structures?? (Because u'll have to create as many text variables as the no. of weeks)
<b>But if that is not the case, following are the steps -
1. Go to cmod to create customize project.
2. Click on Enhancement Assignment & key in 'RSR00001'
3. Click on Components & double click on the function exit EXIT_SAPLRRS0_001.
4. Here you write the above code before the "Endcase" statement.
5. Repeat the above code for rest of the text variables with slight modification as follows...
insert modification between function module call & filling l_s_range9 --</b>i.e.
<i>CALL FUNCTION 'WEEK_GET_FIRST_DAY'
EXPORTING
WEEK = wa9-low
IMPORTING
DATE = l_fst_day
EXCEPTIONS
WEEK_INVALID = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.</i>
<b>data: n_fst_day type sy-datum.
clear n_fst_day.
n_fst_day = l_fst_day + 8.
l_s_range9-low = n_fst_day.</b>
<i>l_s_range9-sign = 'I'.</i>
Please assign the points if this is useful. -
I operate a user facility for several testing instruments. I am looking for a Lavbiew VI that will allow user to reserve time on the instruments. I did a search and found the ActiveX Microsfot Calender Control. This will display a calender and allow you to choose the month, year and date. I would like to place a control on the front panel that will allow the user to select the date, be prompted to tpye in the time to reserve ( e.g., 1:00pm to 4:00pm) and have it display on date on the calendar front panel. Is this possible? Thanks.
OK, so everybody has forgiven everybody -- I guess.
I any case, you aren't going to find one control that does everything. What you need to do, for the data input portion at least, is create a VI that to the operator looks and operates like a dialog box. There are some examples that show in general how to do that. My recommendation is to play with one of those examples until you understand the principles involved and then start modifying it to collect from the user the data that your application needs.
Mike...
PS: as you work through this challenge feel free to ask lots and lots of specific questions.
PPS: going to be at NIWeek?
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps -
CO Profitability report day wise
Hi Gurus,
My client wants to see the Profitability report at company code level day wise, Sale order and Product, is it possible.
If its possible, then how the data will flow day wise and what are the pre-requisits to get this done.
Does SAP has any standard report to get the required.
Day wise i mean, if i take the COPA report on 2nd Feb, it should display only the amounts which were posted on 2nd Feb and activites confirmed etc.
Thanks & Regards,
PraveenHi All,
Can you tell me what is Line item report, and how is it different from KE30 summarised report.
What i understand from your saying is, Line item report will give us the particular dates information when the report is executed, leaving out the info till previous date.
Even if the line item report is created, can u tell me how the data will flow into it. Because we have Sale order cost estimate for the client. If i create a seperate value field for the cost component then it will give me the Sale order cost estimate info which is again standard. How is it possible to get actual data.
What about the other cost centers amount. How this data is passed onto it.
If i have to get this data into the reports then each day I should do Assessment cycles, settlements of the order and reverse the same the next day. But even if i do that i wont be able to get the day wise report as the data will get posted on month end date and again will be summarized one.
Pls clarify me on this. My clients expectation is to bring out the daily report to see the progress of each day and wats the cost he is incurring so that he can compare it with sterdays and also the plan data.
Thanks & Regards,
Praveen -
Reg :Production order cost report day wise.
Dear Expert,
1.We want a report for a particular Production order cost day wise.
The scenario is like this Production order is Released for 100 Qty.
Today they confirmed only 50 Qty.
Tomorrow they will confirm 50 qty.
Now they want to see the cost for today confirmation and tomorrows confirmation.
Reason being daily the Raw Material cost is changed and they want to track the variance.
Is there any standard report we can achieve this or do we have go for development
2. And also i need to know daily how many production orders have been released.
Thank u in advance.A day is not a controlled cost object. You could write a report to look at costs gathered in a day (by reporting date), but I strongly suggest that if you need to analyze costs per day you switch to daily orders.
You'll find then that all the standard processes work for you. -
Displaying No. of Days in the report???
Hi All,
I have to display the number of the day the report is executed on. I thought that I can do it using the Text Variable and Offsets in it to display the day from the input date. But the problem is, the customer wants to display the number of working days so far and not the day of the input date i.e if we run the report today i.e 09.11.2006 the the number of the day would be 7(taking off saturday and sunday).
Has anyone got any solution to this?
Best Rgds,
James.Hi,
you can use the factory calendar to calculate only working days. That wil let you count only the working days and not Saturday, Sunday or holidays.
Kin dregards
/martin
Maybe you are looking for
-
Used to be you could select which page you wished to go back or forward to from the arrow icons on the navigation toolbar. The history menu item only shows 10 sites without having to open history for today. What happened? Is there another icon or a n
-
Using second screen as main display? (I have no main screen)
Hi, I have a 15" PowerBook 1.25 which has no screen (my mate dropped it, off it came), its out of warrenty and replacing the screen's gonna cost £800... I have a proview 15" screen which is plugged in to the 2nd screen output. How do I get the powerb
-
ECC - MQ - XI1 - XI2 - AS2 Connectivity
Hi , We have a requirement of sending an XML file from ECC unix box to XI via MQ-JMS communication and then from XI to another XI system and finally to third party system via AS2 protocol. This is a simple file transfer interface from ECC to the thir
-
Can anybody pls tell me limitations of BDC Session & Call transaction?
hi, Guys, this is srinivas. How can we deside which method is to(BDC session/ Call transaction) use to upload data to SAP database? Can we run Call Transaction in Background? Which is preferable for bulk data? and Why? how can we restart Session if a
-
Hello, SAP ships Solution Manager with the Template scenario "Best Practices for Water Utility". Is it possible to download and install other Template scenarios from SAP? Thanks, Manuel