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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Subtract (or add) the sum from a datesbetween measure

Hello Community, 

 

Not sure if my subject title is clear, so I'll simply explain what I am trying to do.  

 

I already have a several "datesbetween" measures set up that give me the dates between two ranges.   This works fine. 

 

What I would like to do is to take the sum of those independent measures, and either be able to add or subtract them using DAX.  

 

For example, if the sum of one the measures is 12 days, and the sum of another is 4 days, I would like to add or subtract, let's say  12 - 4  for a total of 8.   

 

Any help is apppreciated!

1 ACCEPTED SOLUTION

Hi @Anonymous 

 

Did my answer get you the solution you were looking for?

 

Let me know if I can help further.

 

David





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

Proud to be a Super User!




View solution in original post

2 REPLIES 2
Daviejoe
Memorable Member
Memorable Member

Between Measures = Measure 1 - Measure 2

 

Just create a Measure that contains two measures





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

Proud to be a Super User!




Hi @Anonymous 

 

Did my answer get you the solution you were looking for?

 

Let me know if I can help further.

 

David





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

Proud to be a Super User!




Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors