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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Ranga_naik
Frequent Visitor

How to subtract previous value for below screenshot

Screenshot 2025-03-23 210812.png

 

Hi team,

 

I am trying to  subtract  current  value with previous value with dax measure not able to acheieve  it 

 

example

 

for the  user abhinsp  6-6 = 0 

arung = 19-20

 

Regards,

Ranga Naik

2 ACCEPTED SOLUTIONS

use the PREVIOUS  visual calculation with the COLUMNS modifier.

View solution in original post

v-vpabbu
Community Support
Community Support

Hi @Ranga_naik 

 

Thank you for reaching out to Microsoft Fabric Community Forum

 

As per your query, I have created Calculation (It will subtract current value to previous value)

Here is the Dax Query:   Calculation = [Sum of 202408]-[Sum of 202407]

 

For Referene:

vvpabbu_0-1742885276005.png

 

Refer this Document for using Visual Calculation

Using visual calculations in Power BI Desktop - Power BI | Microsoft Learn 

 


If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!


Regards,
Vinay Pabbu

View solution in original post

8 REPLIES 8
v-dineshya
Community Support
Community Support

Hi @Ranga_naik ,

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

 

Thanks

v-vpabbu
Community Support
Community Support

Hi @Ranga_naik,

 

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

 

Regards,
Vinay Pabbu

Hi @Ranga_naik,

 

May I ask if you have gotten this issue resolved?

If it is solved, please mark the helpful reply or share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.

 

Regards,
Vinay Pabbu

v-vpabbu
Community Support
Community Support

Hi @Ranga_naik 

 

Thank you for reaching out to Microsoft Fabric Community Forum

 

As per your query, I have created Calculation (It will subtract current value to previous value)

Here is the Dax Query:   Calculation = [Sum of 202408]-[Sum of 202407]

 

For Referene:

vvpabbu_0-1742885276005.png

 

Refer this Document for using Visual Calculation

Using visual calculations in Power BI Desktop - Power BI | Microsoft Learn 

 


If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!


Regards,
Vinay Pabbu

lbendlin
Super User
Super User

Please define what you mean by "previous".  

 

Do you want to use regular DAX or Visual Calculations?

Looking for visual calculation 

I am looking Visual calculation 

use the PREVIOUS  visual calculation with the COLUMNS modifier.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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