cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sajal161292 Member
Member

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
Community Support Team
Community Support Team

Re: Computing the quarter value in DAX

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.
sajal161292 Member
Member

Re: Computing the quarter value in DAX

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
Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors