Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
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
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
103 | |
68 | |
47 | |
39 | |
37 |