Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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:
| ID | Rate | SALES Y | SALES X |
| 1 | 59,79 % | 4004,78 | 1610,23 |
| 2 | 80,38 % | 8112,50 | 1591,50 |
| 3 | 56,87 % | 7968,50 | 3437,00 |
| Total | 197,04 % | 20085,78 | 6638,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%?
Solved! Go to Solution.
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.
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.
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.
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
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 21 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 35 | |
| 31 | |
| 20 | |
| 13 | |
| 11 |