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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello everyone! I had a measure that was able to change the value in a matrix based on the row label but for some reason it does not appear to work anymore. The measure is as follow:
Try the folloing measure
Measure =
IF(
HASONEVALUE(Table[Column]) && SELECTEDVALUE(Table[Column]) = "Row Name",
0,
[Measure Calculation]
)
If the measure above doesn‘t help slove your problem, please provide detailed sample pbix file and the results you expect.So that I can help you better. Please remove any sensitive data in advance.
Best Regards,
Jayleny
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Analysis1103 , Try
Measure =
IF(
SELECTEDVALUE(Table[Column]) = "Row Name",
0,
[Measure Calculation]
) +0
or
Measure =
IF(
SELECTEDVALUE(Table[Column]) = "Row Name",
calculate( 0, Table[Column]) = "Row Name),
[Measure Calculation]
)
Thank you for the suggestion but unfortunately these did not work. The selected value logic doesn't seem to flag the row, thus the measure calculation at the end of the if statement is executed.