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.
I need to be able to filter a table based on a selected value measure from another table. I have tried to do a if statement but it cant format the measure as text.
Column 2 = if([Selected Role]='Target Data'[Leadership type],"yes","No")
Here is the measure
Hi
I use your provided information and formula and work out this result.
I don’t understand what do you mean by saying “I have tried to do a if statement but it cant format the measure as text”
Best Regards
Maggie
Thanks for the response @v-juanli-msft.
It should only say yes if they match.
It just isn't working correctly.
Hi
the result of measure "Selected Role" is right but "Column2" is not correct, the "yes" in row 2 should be "no", is my understanding right?
Best Regards
Maggie
User | Count |
---|---|
65 | |
60 | |
55 | |
54 | |
31 |
User | Count |
---|---|
180 | |
88 | |
70 | |
46 | |
45 |