Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
I have a user slicer and a matrix table of values populated by a series of countrow conditions. I would like the table to be affected by the user selection but the user selection can also be blank, meaning "all".
I have tried including the selected user in the filter condition but as this appears blank when no user is selected, the filter does not bring back the correct number of rows.
Question. How can I handle a blank filter condition?
VAR CurrentUser = SELECTEDVALUE('opportunities'[_owninguser_value])
@mattbarker , you can use isfiltered to check you have got some value of not
or try like
VAR CurrentUser = values('opportunities'[_owninguser_value])
Hi @amitchandak,
Thank you. I will investigate isfiltered. You could please give me an idea of how it is used in this context?
You said "or try like" but I did not see any change to my DAX. Did you mean to recommend a change to my DAX?
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 8 | |
| 7 | |
| 6 |