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
Hi there
I hope someone can help me please.
I've created a table and added a column to show percentages against categories, example below.
The %'s are being created in DAX. SUM(Column A in dataset PLUS Column B in dataset) DIVIDED by column A. This gives me a % figure. However in the overall total row at the bottom I want the actual figure. So, SUM Column A PLUS Column B.
Is that actually doable please. I'm really struggling with this one
Many thanks
Karen
| Category | 2025 %'s |
| 1 | 25% |
| 2 | 10% |
| 3 | 50% |
| 4 | 32% |
| 5 | 98% |
| Total | 78 Sum of the actual figures |
Solved! Go to Solution.
Hi,
I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.
I tried to create a sample pbix file like below.
ISINSCOPE function (DAX) - DAX | Microsoft Learn
Expected result: =
IF (
ISINSCOPE ( Data[Category] ),
FORMAT (
DIVIDE ( SUM ( Data[A] ) + SUM ( Data[B] ), SUM ( Data[A] ) ),
"#.00%"
),
SUM ( Data[A] ) + SUM ( Data[B] )
)
Thanks so much for getting back to me @Ashish_Mathur and @Jihwan_Kim The ISINSCOPE worked a treat. Everyday is a school day 😀
Kind regards
Karen
Hi,
I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.
I tried to create a sample pbix file like below.
ISINSCOPE function (DAX) - DAX | Microsoft Learn
Expected result: =
IF (
ISINSCOPE ( Data[Category] ),
FORMAT (
DIVIDE ( SUM ( Data[A] ) + SUM ( Data[B] ), SUM ( Data[A] ) ),
"#.00%"
),
SUM ( Data[A] ) + SUM ( Data[B] )
)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 46 |