on 03-27-2023 6:01 PM
Hello SAC Gurus,
How to calculate QTD (quarter-to-date) in SAC? For example, if the user selects May 2022, the report will show the QTD value (sum of May and June 2022).
Thank you in advance.
NT
navendut
In the new model you can create a calculated measure for QTD with below formula. Adjust as per your date dimension and Measure Name. The below is QTD for Measure [Flow_Total_FXVariable]
ITERATE(IF([d/Date].[p/MONTHDESC]=("Jan" OR "Apr"OR "Jul" OR"Oct") ,0 , PRIOR () ) + [Flow_Total_FXVariable],[Flow_Total_FXVariable], [d/Date])
Output:
Hope this helps !!
Please upvote/accept if this helps.
Nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Nikhil,
I am trying the hierarchy view for YTD calculation using the following calculated measure formula. However, I am getting the correct number in the flat presentation (base level), but in the hierarchy view, QTD numbers are not rolling for YTD calculation. Screenshot attached
Calculcated Measure YTD: ITERATE(IF([d/Date].[p/MONTHDESC]=("Jan" ) ,0 , PRIOR () ) + [SIGNDATA],[SIGNDATA], [d/Date])
I appreciate any help you can provide.
NT
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.