Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi,
I have data as follows:
Seg | CAT | VALUE |
East | A | 100 |
East | B | 200 |
East | C | 300 |
East | D | 200 |
East | E | 300 |
Want to show a East segment value as 500 (i.e, Sum(cat A + cat B+ cat C+ cat D) - Sum(Cat E) = (100+200+300+200) - 300 = 500 )
Please help me to do
Thanks,
AshDil
Solved! Go to Solution.
@AshDil , Try measure like
calculate(sum(Table[value]), filter(all(Table[CAT]), Table[CAT] in {"A","B","C","D"})) - calculate(sum(Table[value]), filter(all(Table[CAT]), Table[CAT] ="E") )
If needed remove all in filter
@AshDil , Try measure like
calculate(sum(Table[value]), filter(all(Table[CAT]), Table[CAT] in {"A","B","C","D"})) - calculate(sum(Table[value]), filter(all(Table[CAT]), Table[CAT] ="E") )
If needed remove all in filter
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
87 | |
81 | |
53 | |
38 | |
35 |