cancel
Showing results for 
Search instead for 
Did you mean: 
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
Highlighted
Super User IV
Super User IV

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

Helpful resources

Announcements
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Top Solution Authors