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! Learn more

Reply
Sowmya18
Frequent Visitor

How to subtract a row value from overall measure

Hi ,

I'm looking for DAX calculation for below. I'm looking to substract "OT $$" value which is 11,496,557 from "Regular $$" amount 

Regular $$ = Regular - O/T (3,036,088,683.84-11,496,557.01=3,024,592,126.83).

 

Sowmya18_1-1635130418760.png

 

 

3 REPLIES 3
Sowmya18
Frequent Visitor

Thank you Vahid for replying me back. Here I have calculated this column based on the Benifits field,

if Benifits = "O/T $$"then Total Amount * 3 , if Benifits = "Benifits $$" then Total Amount and If Benifits = "Regular $$" then I want the result as (TotalAmount *2 )- O/T $$.

I could create a calculation till the Total amount multipling but I'm not getting how to substract the O/T value from the Regular Total Amount value.

If you see below Total Amount for O/T is 11,496,557.01 and i have calculated Regular Total Amount - (1,518,044,341.92)*2 =3,036,088,683.84 . Now I want to exclude Regular - O/T= (3,036,088,683.84)-(11,496,557.01)=3,024,592,126.83. 

Sowmya18_0-1635170872769.png

 

VahidDM
Super User
Super User

Hi @Sowmya18 

 

How do you want to show the result (that 3,024,592,126.83)? can you share a result in table or any other visual you are looking for?

 

Appreciate your Kudos!!

 

Thank you Vahid for replying me back. Here I have calculated this column based on the Benifits field,

if Benifits = "O/T $$"then Total Amount * 3 , if Benifits = "Benifits $$" then Total Amount and If Benifits = "Regular $$" then I want the result as (TotalAmount *2 )- O/T $$.

I could create a calculation till the Total amount multipling but I'm not getting how to substract the O/T value from the Regular Total Amount value.

If you see below Total Amount for O/T is 11,496,557.01 and i have calculated Regular Total Amount - (1,518,044,341.92)*2 =3,036,088,683.84 . Now I want to exclude Regular - O/T= (3,036,088,683.84)-(11,496,557.01)=3,024,592,126.83. 

Sowmya18_0-1635258340787.png

 

 

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