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
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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.