LTD YTD & Month Values
Hi,
I'm displaying the units in columns as LTD YTD UNITS values. LTD & YTD is calculated as restricted keyfigures.
I have the Calender Year/Month in free characteristics. When an user drills down by month only the UNITS column should expand by month as expanding LTD & YTD by month doesn't makes sense as he sees the same value for all the months. So LTD & YTD values shouldn't expand by calender year/month.
Any suggestion is greatly appreciated.
Thanks,
Vish
Vish,
try putting the Key figures in the rows and the CHaracteristics in the columns that way you would be able to accomplish what you want
Arun
Similar Messages
-
YTD and monthly value in reports
Hello experts,
some of our reports show value in terms of YTD value...and the corresponding characteristics are Accounts....
My user wanted to know if possible to see some accounts showing YTD value and some accounts Monthly value....
Is it possible?Both Monthly value and YTD value are available in cube....
Thanks.
Regards,
S Hhi,
u can also include both monthly value column as well as YTD in report.just that u need to have filter for those account .
a way is that u can include fiscal year period var in selection screen then make restriction on this basis.
and for YTD will show value from start of year till date
ex- if u enter march 2010 to aug 2010.then YTD will show jan 2010 to aug 2010 data.
So try this
thanks
nilesh -
How to get the current month value for a customer exit variable?
How to get the current month value for a customer exit variable?
And also if we have an InfoObject with date value (including date, month, year), then how to derive the month value from this date type of Char.?
Thanks!Hi Kevin,
Check here........
Re: Customer Exist for "From Current Date To Month End"
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/25d98cf6-0d01-0010-0e9b-edcd4597335a
Cal month
Regards,
Vijay. -
How to Bring the Quarter Period and Previous Month Value for given Input
Hi to all,
I want bring Quarter Period and Previous Month value for the given Input. Plz help me on this
Example :
Input : 06.2008
Output:
Input Prev.Month Quarter 1 Quarter 2 Quarter 3
06.2008 05.2008 03.2008 12.2007 09.2008
12.2008 11.2008 09.2008 06.2008 03.2008
Is there any Standad Exit for this or we have to write coding ?
Regards,
SaranHi,
You can solve this by using Replacement path.There you have a option offsets.Here give the current period.Based on that give the number which previouse month you suppose to want.
I think this 'll help you
assign points if this helps
Regards
JT Goud -
BEx Analyzer bug in selection mask when selectin month values?
Hi Gurus,
I´m working with NW BI 7.0 and using BEx Analyzer 7.X (based on 7.20, Support Package 5, Revision 1776).
In a query I want to do a selection within a selection mask for the Cal/Month variable (0Calmonth InfoObject).
The values for months are appearing in correct order for example for the years from 2009 - 2011.
But for the last three month values the year description appears always wrong.
It shows always the year for the next years.
Its like this:
Jun 2009
Jul 2009
Aug 2009
Sep 2009
Oct 2010
Nov 2010
Dec 2010
Jun 2010
Jul 2010
Aug 2010
Sep 2010
Oct 2011
Nov 2011
Dec 2011
Jun 2011
Jul 2011
Aug 2011
Sep 2011
Oct 2012
Nov 2012
Dec 2012
Is this a bug?
The values are appearing correct in query results after selecting for example Dec 2012 and executing the query (Dec 2011 appears correct in query results).
Thanks in advance.Thanks! I checked it, but the appearance of months and order is okay in T247.
Any other ideas?
I thought I read somewhere that this is a bug but can´t remember where I found that bug hint. -
Urgent: Formular question: get first/last month value with qty value
We've got a query result as the following:
Jan_2007 -- Feb_2007 -- Mar_2007 -- Apr_2007
0 --- 54 --- 0 --- 3
23 ---0 --- 12 --- 7
In the above query result,
1st row shows the sales quantity in Jan_2007 is 0, in Feb_2007 is 54, in Mar_2007 is 0, and in Apr_2007 is 3.
2nd row shows the sales quantity in Jan_2007 is 23, in Feb_2007 is 0, in Mar_2007 is 12, and in Apr_2007 is 7.
We would like to add a new column to get the first/last month value with quantity, e.g., in 1st row, the 1st month value with quantity value (>0) is Feb_2007, and the last month value with quantity value (>0) is Apr_2007. Therefore the 1st month value with qty is Feb_2007 and the last month value with qty is Apr_2007. In 2nd row, the first month value with qty is Jan_2007 and the last month value with qty is Apr_2007. But how to use formular to get the 1st/last month values with qty?
We will give you reward points!Hello Kevin,
You can create forumula using [Boolean Operator|http://help.sap.com/saphelp_nw04/helpdata/en/23/17f13a2f160f28e10000000a114084/content.htm]
IF<Logic Expression> THEN <Expression1> ELSE <Expression2> can also be made using a formula in the form
You can also use the [AND, OR Logical operators |http://help.sap.com/saphelp_nw04/helpdata/en/23/17f13a2f160f28e10000000a114084/content.htm]to check all the keyfigure columns.
Thanks
Chandran -
Why customer exit variable to grab the current month value doesn't work?
In CMOD, input the following code to grab the current month value from the system date:
Grab the month value with System Date
WHEN 'CURMONTH'.
CLEAR l_s_range.
l_s_range-low = SY-DATUM+4(2).
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
APPEND l_s_range TO e_t_range.
In Query Designer, create a formula variable CURMONTH processed by customer exit and the dimension under the Currency/Unit tab is "Number". Put the formular variable in the column as a KF. When running the query, the column with the formular variable shows values of "2,0000000" other than just "2" I want for the current month. If the dimension under the Currency/Unit tab is "date", the column with the formular variable shows values of "00/00/0000". Any idea? How to grab the correct current month value which is 2 from the system date.
Thanks!Oh ok , try the below options, As such I dont see any errors in our code .
Not sure if you have ABAPER's in your team, just check with them once on the FM we are trying to see .
Next , do you hvae 0CALDAY available in your report ? If so try to restrict that field with variable "0DAT" and write the same code you have written for your formula variable , but instead change the variable name to "0DAT" and try if this gets the month . let me know if I'm not clear . -
Do I have to buy each song separately for the price or is there is a monthly value I can purchase to download songs within a month?
You need to buy each song. iTunes doesn't offer a subscription service.
(77250) -
How to display Month values in SSRS report
Hi All,
I have a requirement to display month values in SSRS Chart. x-axis should display all month names from January till current month. How can I set this properties and show it in a line graph
Thanks & Regards,
Regards RCPHi,
The above link is not meeting my requirement. I need January till July to be displayed in x-axis
labels of graph. How this can be achieved ??
Regards RCP
You can create a calendar table on the fly and use it for your dataset to be used in the graph. Use logic as below
http://visakhm.blogspot.in/2010/02/generating-calendar-table.html
For getting January till current month use query as
DECLARE @Start datetime,@End datetime
SELECT @Start = DATEADD(yy,DATEDIFF(yy,0,GETDATE()),0),
@End = GETDATE()
SELECT *
FROM dbo.CalendarTable(@Start,@End,0,1) f
As a long time persistent solution best option would be to create a calendar table in the database.
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
How to design for YTD, Monthly & Last year Key figures
Hi Gurus:
Can you pls tell me how to design a data model, where a user wants to get YTD, Monthly & Last year Key figures say Sales volume...
Is aggregates the answer?
Pls let me know...Thanks a lotHi Vijay,
I am a beginner in BI field.
I have a problem till now i couldnt get the right answer.
That the reason why i write you today.
My Problem is with a Query.
I'm designed a dynamic query which should look like this:
12.2005-- Jan06 --- Feb06 --- Mar06 --- Apr06 ... Dec06 --- YTD
My Problem, if you give per e.g Dezember, all Months have to appear. Or you give may, your going to receive till may.The result i receive till now its only the month i gave.How can i get the correct answer? How i am going to calculate the YTD?
You can directly answer hier:[email protected]
Thanks -
Hi,
I have a couple of accounts that use the previous month value across years. However, sometimes it's necessary update the value in the middle of the year and this change should be reflected in the following months and years mantaining the old value in previous months and years.
Somenthing like this:
Year - FY12
Jan- 100
Feb- 100
Mar- 100
Apr- 100
May- 100
Jun- 100
Jul- 100
Aug- 100
Sep- 100
Oct- 100
Nov- 100
Dec- 100
FY13
Jan- 100
Feb- 100
Mar- 100
Apr- 100
May- 100
Jun- 100
Jul- 100
Aug- 100
Sep- 100
Oct- 100
Nov- 100
Dec- 100
If I change the value in November->FY12 to 200, I want:
Year - FY12
Jan- 100
Feb- 100
Mar- 100
Apr- 100
May- 100
Jun- 100
Jul- 100
Aug- 100
Sep- 100
Oct- 100
Nov- 200
Dec- 200
FY13
Jan- 200
Feb- 200
Mar- 200
Apr- 200
May- 200
Jun- 200
Jul- 200
Aug- 200
Sep- 200
Oct- 200
Nov- 200
Dec- 200
Any help?
ThanksI typically just aggregate up the Base + Adj to get "Total Adjusted". No need for a formula, unless you want to introduce specific override functionality. (Where the override amount would ignore what's in "Base" and "Adj") You may be able to get away with making "Total Adjusted" dynamic calc. This will depend on a lot of different factors, but it's something you should consider.
Sometimes I put my adjustments into a separate form. Sometimes they're on the same form. That really depends on business requirements.
Let's say you don't want to make this a separate dimension. Then the next option is typically creating specific adjustment accounts. The accounts where you're carrying the balance forward would look to see if an adjustment has been made in one of these specific adjustment accounts, and if so, add that adjustment to the prior value. I tend to prefer a separate adjustment dimension as it offers more flexibility, but if you've already got a database built, adding another dimension can be painful.
- Jake -
MDX - Average of months values for quarters, semesters and years
Hello,
I would like to aggregate month values in MDX query to get quarter, semester and year ones.
The problem is that "SUM" is used by default, but I want the "average" for quarter, semester and year values.
Example (AVG columns are expected, not SUM ones) :
Year
Month
Value
sum Q
avg Q
sum S
avg S
sum Y
avg Y
2011
1
130,71
416,58
138,86
843,66
140,61
1499,33
136,30
2011
2
146,71
2011
3
139,15
2011
4
133,51
427,08
142,36
2011
5
147,14
2011
6
146,43
2011
7
128,58
373,59
124,53
655,67
131,13
2011
8
109,98
2011
9
135,03
2011
10
135,83
282,09
141,04
2011
11
146,27
2011
12
NULL
Thanks for help.Hi Unkedeuxke,
As Ken said, we do not have a measure Average aggregation type in SQL Server Analysis Services. We do have AverageOfChildren (or Average over time), however it is semi-additive and works only along a Time dimension. Fortunately, we have Sum and Count, and
since Average = Sum / Count, we can build our own Average aggregation when we need one. Here is a blog about how to create a average measure, please refer to the link below.
Average Aggregation in Analysis Services
Regards,
Charlie Liao
TechNet Community Support -
How should get last month value from report?
Hi experts,
How should last month value. For example
jan feb march
100 -- ---
Here i want to get jan month value in march coloumn.Hi ,
It is only show last month value. but my requirement is if last month is empty it should bring Before Last month.
For Example
Jan Feb Mar
1000
i need if the Feb value is empty should come jan month value. -
Transformation routine to get last month value
Hi experts,
I am trying to write a routine in a transformation to get last months value from another dso.
Here is my code:
Data:
zamnt type F,
zmonth type c length 6.
zmonth = sy-datum+0(6).
select sum( /BIC/ZAMNT ) into i_amnt
from /BIC/AZDSP00700
where CALMONTH = zmonth -1.
RESULT = zamnt.
I get an incorrect expression "where CALMONTH = zmonth -1." because it does not understand "-1"
Can anyone help me?Hi Odd Hilt,
Please confirm CALMONTH format is yyyymm or something different.
If CALMONTH format is yyyymm.
try following code
zmonth = sy-datum+0(6).
ZMONTH1 = ZMONTH - 1.
select sum( /BIC/ZAMNT ) into i_amnt
from /BIC/AZDSP00700
where CALMONTH = zmonth1.
RESULT = zamnt.
Thanks,
Chandra -
Last Month value for the keyfigure in Report
HI ALL,
how do we get keyfigure value for the last month in the report.
for ex: for amount keyfigure should come for the last month rest of the key figures should come for the current month values.
SBU | AMOUNT (LAST MONTH VALUE) | QTY(CURRENT MONTH) | NETPROFIT(CURRENT MONTH)
The above shown is ex as i required in same manner. Even i restricted with calmonth offset value -1 in keyfigure but it is not working. please help me to get solution .
Thanks
Pinky ReddyHi Pinky,
It is not advisable to use offset to get the previous month value.This is not effective in the case when your current month is Jan & u have to get the previous year's dec month value.It is always better to opt for Exits
Do use the code mentioned below.
Note:- ZCUSMFIS3 - Variable in the selection screen for entering current month
'ZPREVPER - Variable with which the amount key figure has to be resticted.
WHEN 'ZPREVPER'.
IF I_STEP = 2. "after the popup
LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
WHERE VNAM = 'ZCUSMFIS3'.
V_PERIOD = LOC_VAR_RANGE-LOW+4(3).
V_FYEAR = LOC_VAR_RANGE-LOW+0(4).
V_FVARIANT = 'B1'.
V_FISCPERYEAR = LOC_VAR_RANGE-LOW.
IF V_PERIOD = '001'.
V_PERIOD = '012'.
V_FYEAR = V_FYEAR - 1.
CONCATENATE V_FYEAR V_PERIOD INTO V_FISCPERYEAR.
ELSE.
V_FISCPERYEAR = V_FISCPERYEAR - 1.
LOC_VAR_RANGE-LOW = V_FISCPERYEAR.
ENDIF.
CLEAR L_S_RANGE.
L_S_RANGE-LOW = LOC_VAR_RANGE-LOW. "YYYYMMDD - DD will indicate the no of days
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'EQ'.
APPEND L_S_RANGE TO E_T_RANGE.
EXIT.
ENDLOOP.
ENDIF.
Hope this provides the solution for your requirement.
Regards,
Saswati.
Maybe you are looking for
-
How many times can you burn a song to CD?
Once you've downloaded a song from iTunes, is there a limit to how many times you can then burn it to a CD? Dell Windows XP Dell Windows XP
-
I see only a small cross when i want to use my pinsel o rubber.
I see only a small cross when i want to use my pinsel o rubber in Photoshop CC. I would like to see a circle that change the size, when i need it big or small. Can somebody tell me how to change this, please?
-
Hi Gurus, I have started with VC and while compiling a model, I get a syntax error in Fiscalyear (variable in the query). the message is "The expression in field 'FiscalYear' contains an error: Syntax error". "Stopped due to errors" Have no clues as
-
Item - Supply demand Concurrent program error
I wish to find out the supply and demand for the item, like how it is displayed in the VIEW SUPPLY/DEMAND form of the inventory module. I have read the below thread and modified the code that I got from it. item supply/demand - basics on calculation
-
Can I create a group in which the members are not listed?
My organization is jumpy about revelaing "private" information (in ths case e-mail addresses) "publically." Is there a way to create a group so that the e-mais of individual members are not listed (e.g., "undisclosed recipients""