Forum Discussion
Filter All Pages using Users Domain using "Measure" feature
- Anonymous4 years ago
Hi JonathanDavey1 ,
I have created a data sample and include the actual domain for "C".
Please try to create a measure, and apply it to visual-filter pane, set as "is 1":
Domain measure = var _pos=FIND("\", USERNAME()) var _domain=LEFT(USERNAME(),_pos-1) return IF(CONTAINSSTRING(MAX('Table'[Include domains]),_domain),1,0)Output:
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
HI JonathanDavey1 ,
Can you kindly add more details to your question like screenshots on what is the issue and what is expected?
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
Hi, let me try again.
I would like to Filter my Table using the Users Logged in Domain.
Using "Measure = USERNAME" I am able to 'get' the User's name & domain.
Then I want to FILTER a Table using the Filters Contains Function.
The Table includes a Column containing the DOMAINs
Many Thanks
Jonathan