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! It's time to submit your entry. Live now!
I have a Page level Filter that I would like to convert to row based security using roles.
Is there a way I can find the DAX expression of the Page level filter?
If not, how can I write a DAX expression to filter by Dept. (example: I have a table with everyone's dept, A001, A002, S999, H555..) I want to just include the users from Dept A.
I can use something like this [Department] = "A001" but I have to enter every dept. Is there an expression I can use to include all depts that start with A?
Solved! Go to Solution.
Should just be:
LEFT([Department],1) = "A"
https://docs.microsoft.com/en-us/dax/left-function-dax
Should just be:
LEFT([Department],1) = "A"
https://docs.microsoft.com/en-us/dax/left-function-dax
| User | Count |
|---|---|
| 51 | |
| 38 | |
| 33 | |
| 22 | |
| 19 |
| User | Count |
|---|---|
| 136 | |
| 102 | |
| 59 | |
| 36 | |
| 35 |