Forum Discussion
sajal161292
Helper V
8 years agoComputing the quarter value in DAX
Hi,
I need to compute the current and next quarter in Power BI report using DAX.
Thr requirement is to pepare a sales report with different KPIs of current+next quarter dynamically.
The data source is ssas through a cube.
Please help me in solving the requirement
2 Replies
- v-lili6-msft
Community Support
hi,@sajal161292
After my research, you can use TOTALQTD Function to add a mearure.
Reference:https://msdn.microsoft.com/en-us/query-bi/dax/totalqtd-function-dax
for example
Measure = TOTALQTD(SUM(Table1[sales]),Table1[Date])
Best Regards,
Lin
- sajal161292
Helper V
Hi,
I need to extract the data of current quarter and next quarter using the dax query in sql report builder.
So i need a way on how to write a filter in dax in report builder of current quarter and next quarter .