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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
I have a table as below.
I want to create a measure who calculates the sum of category A and C for "Actuals". Returning 18.
Thank you
| Category | Actuals | Last Year |
| A | 10 | 15 |
| B | 5 | 14 |
| C | 8 | 6 |
| D | 9 | 18 |
Solved! Go to Solution.
@Ptolemaida , Create a new measure
DAX
Sum_A_and_C =
CALCULATE(
SUM('YourTable'[Actuals]),
'YourTable'[Category] IN {"A", "C"}
)
Proud to be a Super User! |
|
@Ptolemaida , Create a new measure
DAX
Sum_A_and_C =
CALCULATE(
SUM('YourTable'[Actuals]),
'YourTable'[Category] IN {"A", "C"}
)
Proud to be a Super User! |
|
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 57 | |
| 55 | |
| 42 | |
| 16 | |
| 16 |
| User | Count |
|---|---|
| 113 | |
| 106 | |
| 38 | |
| 35 | |
| 26 |