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!View all the Fabric Data Days sessions on demand. View schedule
I have the following table
Type revenue cost
A 5 15
B 20 3
C 3 54
D 35 85
E 35 68
I would like to summarize the cost when the type =a or c or E so the final value in this case 137
Solved! Go to Solution.
Well, if your underlying data table looks like what you posted, then this should work:
Measure =
SUMX(FILTER('Table',[Type] = "A" || [Type] = "C" || [Type] = "E"),[Cost])
sorry for my late answers. thank you for your help. its working
Well, if your underlying data table looks like what you posted, then this should work:
Measure =
SUMX(FILTER('Table',[Type] = "A" || [Type] = "C" || [Type] = "E"),[Cost])
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 18 | |
| 11 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 31 | |
| 25 | |
| 21 | |
| 14 | |
| 12 |