Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Greetings all,
I'm new to Power BI/Dax in general so apologize if this might seems obvious but I couldn't manage to find a way to do it.
I basically have a dimension category here I need to sum AA & BB then CC & DD. And create a final table B
TABLE A: DETAILS | ||
Category | Value | |
AA | 10 | |
BB | 20 | |
CC | 30 | |
DD | 40 |
TABLE B: EXPECTED OUTCOME | ||
Category | Value | Output |
AA | 10 | 30 |
BB | 20 | 30 |
CC | 30 | 70 |
DD | 40 | 70 |
@AKHIL_RB_123 , First Create a new column
Cat =
Switch(True() ,
[Category] in {"AA", "BB"} , "Cat1" ,
"Cat2")
Now a new measure
sumx(filter(Table, [Cat]=earlier([Cat]), Table[Value])
or
sumx(allselected(Table), [Cat] = Max([Cat]) ), [Value])
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
72 | |
67 | |
51 | |
38 | |
26 |
User | Count |
---|---|
87 | |
54 | |
45 | |
40 | |
36 |