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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

How to derive Quarter over Quarter values for current and previous month?

Hi All,

Can anyone please help me in deriving Quarter over Quarter values for current and previous month without filtering Date/Month/Year for Current DateTime? I am able to derive the all previous quarter values as can be seen from the below screenshot, however would only like to have values for current and previous quarter which would be '0' and '2884'. I would not like the other values to appear or cumulate.

sakshidixit_0-1614460236090.png

The DAX Code written by me is as below:

sakshidixit_1-1614460451252.png

Thanks in advance.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi Henry,

Thanks for reverting. However, I managed resolving my query with the below.

sakshidixit_0-1614690901306.png

 

View solution in original post

3 REPLIES 3
v-henryk-mstf
Community Support
Community Support

Hi @Anonymous ,


You can try to add an if function as a judgment condition. As follows: 

result = if( table[date] = ***,[loadsQoQ],if( table[data] = ***,[loadsQoQ0],0))


If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


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

Anonymous
Not applicable

Hi Henry,

Thanks for reverting. However, I managed resolving my query with the below.

sakshidixit_0-1614690901306.png

 

Hi @Anonymous ,

 

That is great! You can mark yourself answer as the solution to help the other members find it more quickly.🙂


Best Regards,
Henry

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors