The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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.
User | Count |
---|---|
69 | |
68 | |
65 | |
54 | |
28 |
User | Count |
---|---|
112 | |
82 | |
65 | |
48 | |
43 |