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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hi PBI folks,
I have a measure that I use in a matrix visual and the measure returns a result only for certain rows of the matrix depending on their value. For the rest it returns 0.
Type | Measure |
One | 50 |
Two | 0 |
Three | 10 |
Four | 0 |
Total | 0 |
Solved! Go to Solution.
@Quiny_Harl , I think this should also work
CALCULATE(SUMX(My_Table,[Price]*[Qty]),filter(My_Table, My_Table[Type]) IN {"One","Three"}
)+0
@Quiny_Harl , I think this should also work
CALCULATE(SUMX(My_Table,[Price]*[Qty]),filter(My_Table, My_Table[Type]) IN {"One","Three"}
)+0
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.