Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
sajal161292
Helper V
Helper V

Computing 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 2
v-lili6-msft
Community Support
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])

17.PNG

Best Regards,

Lin

 

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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 .

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.