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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
dshah12
Helper II
Helper II

I have a 2 columns and do difference

Appl nosum of forerecomm
1100126
2200200

 

I want to do the difference of the  sum of fore - recomm,  but i don't want that it sums the recomm 

 

I tried calculated column but it does not work

Help  appreaciated !
Thank you 

3 REPLIES 3
vojtechsima
Super User
Super User

Hi, @dshah12 ,

bit confusing, but do you want it like this?

vojtechsima_0-1697470518692.png

Measure:

Total Difference = SUMX('Table', 'Table'[sum of fore] - 'Table'[recomm])

Hi thank for the reply but this formula will sum the recomm amount I don't want that it should be without that 

@dshah12 but how do you wanna they display it, you can see that if you put to each line, it's not a sum, but it i a individual level.

Do you want it as calculated column then, or could you give me please example of the result? 

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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