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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Reporting
New Member

How can I calculate two values ​​in different lines? (DAX)

How can I subtract two values ​​(high value minus low value) if they are in different lines? In the respective line are different texts that could be used as a condition. 

 

Unbenannt.PNG

Here he should count 70-65 and give out 5 as result.

 

I hope you can help me.

 

1 REPLY 1
Anonymous
Not applicable

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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