Forum Discussion
USERELATIONSHIP when certain value is selected
- 4 years ago
You could write a measure with two variables - one with USERELATIONSHIP and one without, and then use IF with SELECTEDVALUE on your slicer column to decide which to return.
Pat
Hi Anonymous ,
According to your description, I create a sample, the measure is just like you wrote.
When I drag it into the values, and select “similar”, it can work fine like other fields.
Here’s my sample bellow.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Anonymous4 years agoNot applicable
Thanks v-yanjiang-msft! Your answer made me realize my model wasn't following exactly the picture attached. After making some relation changes the report started to work as I had hoped. Thanks for making such a huge effort 🙂