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 good day,
Can someone help me on my table, is there a way to sum the two area per row
Asia Week1 + North Week 1 = Combine Week 1
DESIRED OUTPUT
Thank you
Solved! Go to Solution.
Hi @AllanBerces - please check this
Hope this would help
Proud to be a Super User! | |
It can be done using a pivot table.
This can also be done using a measure.
Hi @AllanBerces - I have tried with measure as follows with one table input with above details.
Hope it helps.
Proud to be a Super User! | |
Hi @rajendraongole1 thank you fo the reply but i need calculated column. I tried the one you provided in column but no luck.
Hi @AllanBerces - please check this
Hope this would help
Proud to be a Super User! | |
@AllanBerces -Happy to Help
Thank you
Proud to be a Super User! | |
Hi,
I am not sure how your semantic model looks like, but I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
Actual Remaining measure: =
SWITCH (
SELECTEDVALUE ( area[area] ),
"Combine", CALCULATE ( SUM ( data[remaining] ), ALL ( area[area], area[sort_order] ) ),
SUM ( data[remaining] )
)
Hi @Jihwan_Kim thank you for the reply, I have only 1 table with Column Area, Week No. and Remaining.
Hi,
I suggest having a proper data model (star schema), but if you only have one table and cannot change the model, please try something like below.
Actual Remaining measure: =
SWITCH (
SELECTEDVALUE ( data[area] ),
"combine", CALCULATE ( SUM ( data[remaining] ), ALL ( data[area] ) ),
SUM ( data[remaining] )
)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 33 | |
| 29 |
| User | Count |
|---|---|
| 134 | |
| 96 | |
| 78 | |
| 67 | |
| 65 |