Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi
I have a power bi working fine but I would like to add a button that would show only the rows that have a value for the column 'blocking'
So it would only show rows that have a value for the blocking column. Click button again (or a different button) to remove the filter and show all rows.
What is the best way to accomplish this?
Thanks!
I tried your recommendation but am getting the error " dax comparisons do not support....". Tired changing the data type but still got the error. Any idea on what to try next? thanks!
Hi jgeddes
I tried your recommendation but am getting the error " dax comparisons do not support....". Tired changing the data type but still got the error. Any idea on what to try next? thanks!
try replacing Query1[blocking_session_id] = "" with ISBLANK(Query1[blocking_session_id] in the IF statement
Proud to be a Super User! | |
Hi,
Expand the filter pane and give a condition there of Non blanks for the Blocking column.
Not sure if it is the 'best' but I would create a calculated column that tests if the 'Blocked' column is blank or not. You can be as creative as you like with the return values of the test.
isBlocked = IF(yourTable[Blocked] = "", "notBlocked", "Blocked Values")
Then take that column and create a tile slicer and use the filter pane so that it only shows the "Blocked Values" option.
You should now have the ability to select/deselect your blocked values filter.
Proud to be a Super User! | |
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.