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! Request now

Reply
Anonymous
Not applicable

To get the differences of two values and also differences in Percentage Using Dax in Power BI

Hi Team , 
I need to calculate differences and percentage for last quarter value column - previous quarter value column and percentage ((last quarter column-previous quarter column)/last quaretercolumn) in same column using DAX in Power bi 

note: There is no dates column only having years and values 

Please find the below screens hot for your references

Venkatesan_0-1656012675661.png

The result should be based on the filter of class and year .I want to year and class as filter slicer to get the differences of last quarter - previous quarter and same in %percentage according to the filter selection .

please find the screen shot of excel sheet image for your references 

 

4 REPLIES 4
Anonymous
Not applicable

Thats Column name 

Hi @Anonymous 

Still not sure which columns are the original data and which are the expected output.

 

Best Regards,

Community Support Team _Tang

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

v-xiaotang
Community Support
Community Support

Hi @Anonymous 

Thanks for reaching out to us.

>>  to calculate ((last quarter column-previous quarter column)/last quaretercolumn) based on the filter of class and year, note: There is no dates column only having years and values 

how to get the value of last quarter column and the value of previous quarter column? what do these column name in red boxes mean? 

vxiaotang_0-1656322240343.png

and could you share the expected outcome with table format?  So that I can verify that my measures are correct according to your expected value. Thanks!

 

 

 

Best Regards,

Community Support Team _Tang

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

Anonymous
Not applicable

hi  v-xiaotang, 

Please find the below screen shot for your references that should be final output

Venkatesan_0-1656753031455.png

 




 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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
Top Kudoed Authors