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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi everybody,
I would like to filter my data in the managing role by using a contain rather than an "=".
Is it possible to do so?
Thanks in advance
Solved! Go to Solution.
Hi @Anonymous
Please see these links:
https://docs.microsoft.com/en-us/dax/contains-function-dax
https://docs.microsoft.com/en-us/dax/containsstring-function-dax
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos✌️!!
Hi @Anonymous ,
1.If you want to filter multiple users, you could use
IN {"UserA", "UserB","UserC"}
to replace
="UserA"
2. If you want to check whether a vakue contains a specific string, you could use CONTAINSSTRING() or FIND() or SEARCH()
Measure = IF(CONTAINSSTRING(MAX('Table'[Value]),"Power BI"),1,0)Measure = FIND("Power",MAX('Table'[Value]),,0)Measure = SEARCH("Power",MAX('Table'[Value]),,0)
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 @Anonymous ,
1.If you want to filter multiple users, you could use
IN {"UserA", "UserB","UserC"}
to replace
="UserA"
2. If you want to check whether a vakue contains a specific string, you could use CONTAINSSTRING() or FIND() or SEARCH()
Measure = IF(CONTAINSSTRING(MAX('Table'[Value]),"Power BI"),1,0)Measure = FIND("Power",MAX('Table'[Value]),,0)Measure = SEARCH("Power",MAX('Table'[Value]),,0)
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 @Anonymous
Please see these links:
https://docs.microsoft.com/en-us/dax/contains-function-dax
https://docs.microsoft.com/en-us/dax/containsstring-function-dax
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos✌️!!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 46 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |