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,
I have a simple fact table with different transactions and values.
And just one measure that sums the "Value" column:
when I draw a matrix table I filter it "Category2" by "liquid"and "production"
Showing the folling result:
I was wondering is there is any way to show the division between waste & activity for each branch/plant as it is shown in the image bellow:
Im also attaching a link to the PBI model is case it helps
https://www.dropbox.com/s/lgfkjf40csfc6t4/grand%20total%20by%20branch%20plant.pbix?dl=0
Thank you very much for you support
Solved! Go to Solution.
@Anonymous , You can create a measure for that and force that plant level using isinscope.
The column of Activity , Waste should not be in scope
https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/
Thanks again @amitchandak ! I got it with your help.
Isinscope2 =
SWITCH (
TRUE (),
ISINSCOPE ( transactiontable[Category2] ), sum(transactiontable[Value]),
ISINSCOPE ( transactiontable[Category] ), sum(transactiontable[Value]),
FORMAT (
DIVIDE (
CALCULATE (
sum(transactiontable[Value]),
transactiontable[Category2] = "Production"
),
CALCULATE (
sum(transactiontable[Value]),
Movimientos[Category] = "Liquid"
)
),
"Percent"
)
)
@Anonymous , You can create a measure for that and force that plant level using isinscope.
The column of Activity , Waste should not be in scope
https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/
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 | |
| 47 |