Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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! |
|
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 47 | |
| 35 | |
| 27 | |
| 15 | |
| 15 |
| User | Count |
|---|---|
| 58 | |
| 56 | |
| 38 | |
| 21 | |
| 21 |