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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
MariaSal
Regular Visitor

Table calculating total row same way as other rows

I have created a new column to my table with calculation: Rate = 1-Table[SALES X]/(Table[SalesY]

As a result I get this table:

IDRateSALES YSALES X
159,79 %4004,781610,23
280,38 %8112,501591,50
356,87 %7968,503437,00
Total197,04 %20085,786638,73

 

How can I get the last line (Total) to calculate the same way as for the other rows so 1-Sales X/SalesY 1-6638,73/20085,78=66,95%?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @MariaSal ,

 

According to your statement, I think the [Rate] may be a calculated column. When you add this column into visual, it will only show aggregated data by function like SUM()...  and so on.

I suggest you to try a measure to achieve your goal.

Rate Measure =
1 - DIVIDE ( SUM ( 'Table'[SALES X] ), SUM ( 'Table'[SALES Y] ) )

Result is as below.

vrzhoumsft_2-1697094470655.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @MariaSal ,

 

According to your statement, I think the [Rate] may be a calculated column. When you add this column into visual, it will only show aggregated data by function like SUM()...  and so on.

I suggest you to try a measure to achieve your goal.

Rate Measure =
1 - DIVIDE ( SUM ( 'Table'[SALES X] ), SUM ( 'Table'[SALES Y] ) )

Result is as below.

vrzhoumsft_2-1697094470655.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

Hey Rico!

This worked, many thanks!

Br,Maria

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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