Need to display "Calendar Month/Year" at report level from Calendar Day
Hello Experts,
I have a scenario in which I have 0CALDAY (e.g. 01.01.2009) along with other fields available in my report. My requirement is to display "Calendar Month/Year" (01.2009) in my report. Is it possible to have "Calendar Month/Year" in my report from 0CALDAY, by making changes to the query, as I cannot remodel the underlying InfoCube.
Many Thanks,
VA
What you mean with huge - 100 Mio dataset?
The import of the new infocube will be also take a long time - the database must be insert a new field for every dataset.
=> is this a big infocube, then don't use virtual infoobjects.
=> on a big infocube is important to have a good datamodel - please insert always all 11 infoobjects for the time dimension.
Sven
Similar Messages
-
To Display "Calendar Month/Year" at report level from Calendar Day
Hello Friends,
I have a scenario in which I have 0CALDAY (e.g. 01.01.2009) along with other fields available in my report. My requirement is to display "Calendar Month/Year" (e.g. 01.2009) in my report.
Is it possible to have "Calendar Month/Year" in my report from 0CALDAY, by making changes to the query, as I cannot remodel the underlying InfoCube?
Many Thanks,
VishwAHI Vishwa,
Hope it will helps.
How to get month from CREATE DATE field??
Regards,
SVS -
Dynamic selection of Calendar month/year
I need to create a dynamic combo for calendar month/year, which will display the last 3 months.
I have a query that displays the cumulated amounts for the last three months and I need to have a combo with the option to filter the query for only one of these months...
How can I do that in Visual Composer?
Thanks in advance,
CrisHi Cris,
The simplest way is to create a service that's returns the correct month and use it as dynamic list for the drop-down.
Hope it helps,
Shay -
FM to get previous fiscal month/year and calendar month/year for a date.
Hi All,
I am having a requirement to extract some data based on either the previous fiscal month/year or the previous calendar month/year. There is no company code input to find the fiscal/calendar month/year.
At selection screen, user can select either fiscal or calendar selection.
Based on the selection, the data will be extracted.
For the system date, we need to calculate previous fiscal month/year or previous calendar month/year and populate the calculated data back to the selection-screen.
Can you one of you please suggest an FM to find previous fiscal month/year and previous calendar month/year.
Thanks in Advance,
Regards
GowthamiHi Gowthami,
You can use following function module to calculate previous / next day or month or year.
call function '/SAPHT/DRM_CALC_DATE'
exporting
date = sy-datum
days =
months =
sign = '-'
years =
importing
calc_date = .
Here, you can give '-' to sign, if you want previous day / month / year.
Here, you can give '+' to sign, if you want next day / month / year.
And depending upon your requirement, you can pass suitable value to days / month / year.
e.g. To calcualte last month,
call function '/SAPHT/DRM_CALC_DATE'
exporting
date = sy-datum
days =
months = 1
sign = '-'
years =
importing
calc_date = wv_prev_month.
so it will give '23-01-2008' . Then convert it in the required format as per your requirement using string function concatenate.
Hope this help you.
Regards,
Anil -
I am using SSRS and I cannot access SQL server to answer my problem, so the solution needs to be done via SSRS only.
I am currently trying to graph some data. The problem is, the months on the X axis are aligned by calendar year. I need the first month to commence with July, with the last month on the axis to be June. This also means that the year series need to be changed
from calendar year to Australian financial year.
Screenshots are provided in the comments.Hi Northern,
Per my understanding that you want to show the month in the x axis as the order of the financial year(7,8,9,10...4,5,6) and also display the year in the series group as the financial year, right?
I have tested on my local environment and we can modify the query in the sql to get the financial year value based on the fields of Calendar year, details information below for your reference:
1. Modify the query as below:
SELECT
Calendar_Date,CASE WHEN MONTH(Calendar_Date)>=7 THEN
YEAR(Calendar_Date)+1
ELSE YEAR(Calendar_Date) END AS Financial_Year,
MONTH(Calendar_Date)as Financial_Month,
Billing_Amount
FROM TableName
order BY
Calendar_Date
2. Add the "Billing_Aomount" in the Value area, "Financial_Month" in the Category group area and "Financial_Year" in the Series group area.
3. Right click the "Financial_Month" under the Category group to select the "Category group properties",click the sorting and add below expression in the Sort by to specify the order for the month in the x-axis:
=switch(Fields!Financial_Month.Value="7",1,Fields!Financial_Month.Value="8",2,
Fields!Financial_Month.Value="9",3,Fields!Financial_Month.Value="10",4,
Fields!Financial_Month.Value="11",5,Fields!Financial_Month.Value="12",6,
Fields!Financial_Month.Value="1",7,Fields!Financial_Month.Value="2",8,
Fields!Financial_Month.Value="3",9,Fields!Financial_Month.Value="4",10,
Fields!Financial_Month.Value="5",11,Fields!Financial_Month.Value="6",12)
4. Preview you will get the sample chart display as below according to my sample data:
If you still have any problem, please feel free to ask.
Regards
Vicky Liu
Vicky Liu
TechNet Community Support -
Need to show Previous months data in report
Hi All,
I have a crystal report 2011 which shows monthly Cash data. It has 3 other columns like Previous 3 months cash data, previous 6 months cash data, Previous 12 months cash data in report.
My report also has two parameters- start date and end date. If I give Start date as 1/1/2012 and end date as 12/31/2013 (two years date range) then correct data comes in all columns and for 2013 year, correct data is coming for Previous 12 months column. But if I give only one month date range like start date as 1/1/2013 and end date as 01/31/2013, then it is not showing correct data for these 3 columns - Previous 3 months cash data, previous 6 months cash data, Previous 12 months cash data. Ideally as per requirement, it should calculate previous months data regardless of parameter values and put data in respective columns.
Any help/suggestion? Any trick which can help me to show correct data in all columns no matter what date range or months I am taking in parameters.
Is it mandatory to have previous 12 Months data in report to calculate column-Previous 12 months Cash data?
Thanks,
RemiHi Remi,
You can try like this:
I have given a some suggestions i.e You just take one parameter only because u can imagine 3 columns previous data display correctly i.e From Date
Month parameter is also a alternate option.
For Ex: Column1: From Date - 90 Days/3 Months - we get the three months previous data correctly etc.
Finally, create a stored procedure that returns the required columns and does all the calculations on the database side.
Follow abhilash suggestion as well.
Useful threads: Crystal Report Parameter Issue
Pull Last 6 months of data
Month to date data for Previous month
How to find current month, previous month Net Sales by means of formula?
Thanks,
DJ -
Help needed- Reg: Display page number in SQL Reports
Hi,
I need to display page number in " page no: X of Y " format where X is current page & Y is total number of pages. Now I am able to display only the current page using ' sql.pno '. but not able to display in ' X of Y ' format.
Any inputs in this regard will be helpful.
Thanks & Regards,
Anilkumar.Hello Anil,
If you have the above requirement for Oracle Reports then follow the steps:
1.In the Paper Layout view or Paper Design view, choose InsertPage Number.
2. In the Insert Page Number dialog box, choose from the list the location for the page number.
3.Click the desired page number format: Page Number Only or Page Number and Total Pages.
Cheers,
Suresh -
Need to display date result but has to exclude sat & sun day
Hi all,
I need to display date (A), from the plan date (B) for qty more than 10, but the result of A, should be B -10 and should not include sat & sunday.
I managed to do in excel but I have problem in oracle sql here.
My quote in excel, =IF(qty<=10, WORKDAY(plan_date,-5), WORKDAY(plan_date,-10))
If qty=12, plan_date is 30/05/11, the result is 16/05/11
qty=2, plan_date is 30/05/11, the result is 23/05/11
Anyone can help me to quote in SQL ?
Thanks.
LimCREATE OR REPLACE FUNCTION GOKHAN.business_date (start_date DATE, days NUMBER)
RETURN DATE
IS
counter number := 0;
curdate DATE:= start_date;
BEGIN
WHILE counter < days
LOOP
curdate := curdate - 1;
IF TO_CHAR (curdate, 'D') BETWEEN 1 AND 5
THEN
dbms_output.put_line( curdate || ' ' || TO_CHAR (curdate, 'D'));
counter := counter + 1;
END IF;
END LOOP;
RETURN curdate;
END;
with t as (
select to_date('30/05/11','DD/MM/YY' ) plan_date, 12 qty from dual
union all
select to_date('30/05/11','DD/MM/YY' ) , 2 from dual
select qty, case when qty <= 10 then business_date( plan_date, 5 ) else business_date( plan_date, 10 ) end plan_date from t;
QTY PLAN_DATE
12 16/05/2011
2 23/05/2011Best Regards,
Gokhan Atil
If this question is answered, please mark appropriate posts as correct/helpful and the thread as closed. Thanks -
Display previous month value in report
Hi,
I have a requirement to display the previous month amounts on monthly basis. here is the example.
In the Cube I have data like this:
<b>Customer Month Amount</b>
C1 Jan 2004 $500
C1 Feb 2004 $600
C1 March 2004 $1000
I want to display in Report with another key figure to show the difference between current month and previous month. Report should look like:
<b>Customer Month Amount <i>Prev_Month_Amount <u>Diff</u>.</i></b>
C1 Jan 2004 $500 0 $500
C1 Feb 2004 $600 $500 $100
C1 Mar 2004 $1000 $600 $400
I have tried using restricted key figures.but it is showing the same amount in prev. moth amount colunm till feb 2004. anyone had similar req. please advise me.
Thanks in advance,
RamHi,
I can only think about a 2 structure approach with cell calculations.
This will result in a static report with 12 rows for each customer. Then you would need to use the new feature of zero supression, to hide those month where no data exists.
Heike -
Need help displaying rank of records in report
Post Author: tpoland
CA Forum: General
I have a report that is contains summary information that needs to be ranked at the summary level based on performance.*note, this data is completely fictional
Company
Location
Dealer Volume
Walkin Volume
CarQuest
$100,000
$25,000
Walden
$10,000
$8,000
Young St
$20,000
$12,000
Main St
$70,000
$5,000
Napa
$80,000
$45,000
Walck
$15,000
$10,000
Ransom
$20,000
$22,000
Syracuse
$45,000
$13,000
So now ranking Dealer Volume and Walkin Volume I would end up with
Company
Location
Dealer Rank
Dealer Volume
Walkin Rank
Walkin Volume
CarQuest
1
$100,000
2
$25,000
Walden
$10,000
$8,000
Young St
$20,000
$12,000
Main St
$70,000
$5,000
Napa
2
$80,000
1
$45,000
Walck
$15,000
$10,000
Ransom
$20,000
$22,000
Syracuse
$45,000
$13,000
For the column of Dealer Rank I could use a Running Total but this would be defeated if the data were sorted in a different fashion. Manually entering the ranking isn't an option because there will be about 4000 summary records in this report. Any suggestions about how to proceed would be much appreciated.
thank you in advance,Post Author: yangster
CA Forum: General
Well this gets pretty ugly. there is no easy way to create a ranking formula.the dealer ranking you don't have to worry about since it is in your main report and you are sorting by it so you can just start a count that starts at 1 at the topwalkin ranks is another story, you'll need to create a subreport that contains the same summation and create a shared variable for the ranking which will pass it back to the main report -
Advance Reporting Technique from Calendar Link
I have created a calendar with a namelink, and am trying to link the namelink from a certain date to a dynamic page that displays further information about the event on the date. I have a description column in info table which has the information. What is the proper context in SQL for displaying only the information for the date clicked. I figure I need to use a where statement? Do I have to pass the date parameters to achieve only the display the data for that date?
any suggestion?
Thanks -
Is there any way to delete calendars by years without deleting the entire calendar?
I have too many years in my iCal application. Is there any way I can have it just show the past 5 years? Or can I delete years before 2008, for example? I have made a backup of my iCal file so I'm ready for that great solution from the community!
I see other posts in the community about deleting data but they are from 2005 and 2007 and don't apply to Lion OS and this newest version of iCal - or at least I can't find the features they're referring to to help delete old data.Hi,
In iCal's calendar list make sure only the calendars you want to delete from are checked.
In iCal's search field put a single quote ('). The search result showing all events will appear.
Make sure the search results are sorted by date.
Click the first event you want deleted.
Scroll down and Shift-Click the last one.
Press the delete button.
I don't know whty the single quote is needed oin the search.
Best wishes
John M -
Issue with display of Barcode in the report output from different Machines
Hi ,
I have developed a BI Publisher report to print barcode on the output.
I have configured the necessary setup in XML Publisher Responsibility
by following the steps
1) Home --> Administration
a) Create Font Files
Uploaded the ttf file
2. Create Font Mapping Set
"Special Fonts"
3.Created font Mapping under the Mapping set of type "Special Fonts"
4.Provided the Value of Font Mapping Set to ‘FO Processing ‘ under Configuration
Font Mapping Set : Special Fonts
The above configuration works fine and I am able to view the Barcode in the output.
Issue : When I try to run the same concurrent porgram from a different PC ,and if I view the output, I am not able to see the barcode.
Please let me know if anyone has faced issue of such kind.
I guess the above cannot be system specific and please let me know where it is going wrong.
Thanks,
SeshuHello again
I have the font file and I already put it into C:/Windows/Font folder. I just don't have the option to "Create Font Files".
I try to use this code in a xdo.cfg file:
<config version="1.0.0" xmlns="http://xmlns.oracle.com/oxp/config/">
<fonts>
<font family="Free 3 of 9 Extended" style="normal" weight="normal">
<truetype path="FRE3OF9X.ttf"/>
</font>
</fonts>
</config>
but i just can't make the bar code appear in PDF.
Thanks a lot
Edited by: pedropereira on 22/Fev/2012 12:51
Edited by: pedropereira on 22/Fev/2012 12:57 -
How to display the output of a reports called from forms in the same window
Hi all.
I have installed Forms / Reports 11g Rel2 developer only installation on my windows 7 box.
I can successfully call a reports from forms using RUN_REPORT_OBJECT and WEB_SHOW.document, but the report is opened in a new window.
I'd like to open it in the same widow, in a new tab, similar to ctrl-t and make a call.
How is that possible?.
I'm using Chrome 25.0. Could this be done through browser settings?.
Thanks in advance ...!
Edited by: myluism on 14-mar-2013 6:09Don't know for Chrome, so Google for it.
One more thing, though. what is the 2nd parameter in web.show_document? Is it '_blank'? If not, try that. -
Swipe down calendar won't sync my agenda from calendar
Hello everyone,
For some reason, my Swipe down calendar won't show my agenda that I added in the calendar.
When I swipe down for the easy access , it won't show my events for the day.
My calendar is default gmail calendar. Shouldn't it show what
I have added on my calendar? It won't show "today" or "tomorrow"s event.
Is that the new update or is there a way to fix it?
It would be so nice to just swipe down and see what
My sched is for the day
Thanks!Thank you, is there a way to change that to show
The full day?
Maybe you are looking for
-
ASA 5505 can't configured it, no access inside to box
Device is ASA 5505 with software version 7.2. Very bad problems: When i try access to ASA try conficuring it, i can't access to box inside. First time i get connect this ASAs configurationsofware and change password and restart it and now i can't acc
-
Additional field in standard MSS iView
Hello all, We have created a new custom infotype (IT9915) in which we intend to hold some disability information. We would like to display one of this infotypes fields within MSS in the 'Employee Profile' page, 'General Data' iView. I have little JSP
-
Introduction of SSLM into a MSFC-FWSM-CSM Bridge Mode Configuration
Hi, Need serious help here.. I'm facing a challenging situation here. Customer just purchased a pair of SSLM module for their web server HTTPS termination. Here's the situation. Currently customer already have a pair of Catalyst 6509 running with MSF
-
What is the best iPhone 4/4s extended battery case? I've been reading reviews for a bunch of them, but they all seem to say the same thing.
-
Compress DNG when exporting possible?
Hello, I'm currently using Lightroom 1.x and when exporting RAW files to DNG, I have the possibillity to choose Compressed (lossless). I just downloaded the trail of Lighroom 2.x and I cannot find this Compressed option any more. Is it gone, or am I