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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
pang22
Helper II
Helper II

Write formula to calculate difference

Hi,

 

I have below table visual.

Which AOP Budget (US$K) is not summarized.

And AOP Committed Amount (US$K) is summarized.

How to write the formula to calcuate the difference?

(e.g. 294 - 83 = 211)

(e.g. 549 - 26 = 523)

 

pang22_0-1713777981488.png

 

3 REPLIES 3
v-tangjie-msft
Community Support
Community Support

Hi @pang22 ,

 

Did @ryan_mayu  response solve your problem? If solved please mark the helpful answer as a solution and he will help more users, if not please point it out.

 

Best Regards,

Neeko Tang

ryan_mayu
Super User
Super User

it looks like a table visual.

if AOP budget is not summarzied, then is it a measure? how did you display that column? 

pls try below DAX to see if this works

sum(AOP budget)-sum(AOP Committed Amount (US$K) )

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




ZUDGIZGLU
Regular Visitor

Hi,

You can achieve this using the custom column.
Go to Transform Data -> Add Column -> Custom Column

Hope this helps

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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