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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Kadrimedquali
Helper I
Helper I

subtract between two rates

Good morning all,

please i have a problem in power bi desktop,

i have a table matrix, I want to subtract between two rates, but the first is in the rows and the second is in the values.

example in this picture : 

 

Capture d’écran 2022-01-20 094517.png

1 ACCEPTED SOLUTION
Samarth_18
Community Champion
Community Champion

Hi @Kadrimedquali ,

 

Can you try below code:-

Measure = [Taux Freinte] - MAX(table[column in a row})

 

Thanks,

Samarth

 

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

View solution in original post

5 REPLIES 5
Samarth_18
Community Champion
Community Champion

Hi @Kadrimedquali ,

 

Can you try below code:-

Measure = [Taux Freinte] - MAX(table[column in a row})

 

Thanks,

Samarth

 

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

@Samarth_18 

 

Many thanks for your collaboration.

Best regards.

 

Kadrimedquali
Helper I
Helper I

@amitchandak please i need your help 

thanks

Kadrimedquali
Helper I
Helper I

Please i need help

Kadrimedquali
Helper I
Helper I

the column (Taux Freinte) is a dax formula also

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.