Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
I have a boolean column that is sometimes null, and I have a slicer in my report for that column. The slicer shows "True", "False" and "(Blank)" as options, but selecting "False" includes the "(Blank)" values as well. I want to be able to view data where this is explicitly set to false. Why is the slicer showing separate options if they are equivalent in filtering?
Solved! Go to Solution.
Hi,
After my test, i think it is a deafult design that if not True, return False regardless of whether is blank or not.
In other words, False includes Blank.
Best Regards,
Giotto
Hi, I know this post is from several months ago. But, I figure someone else is going to run into this and want an actual solution. I did a workaround where I added another text column for display with values: 'True', 'False' and null. The slicer works correctly based on that text column.
Hi,
It is because Blank() and True()/False() are different data type.
I did a test, see this:
In this sample, i define a policy for values, and you can see in the above screenshot, the values that lower than 100 is not defined and should return blank, but still return false.
When you add a new definition to values that lower than 100, it will cause data type error.
See my attached pbix file.
Best Regards,
Giotto
Thanks, but this isn't quite the issue I'm having. I'm importing data that has a boolean column, and some of that data is null. So the values in the column are TRUE, FALSE, or NULL. If I create a slicer on that column, it automatically lists all the values in the column, TRUE, FALSE and (Blank) which seems to be the replacement for NULL.
If it is going to display (Blank) as a separate value, it should treat it as a separate value. If it doesn't treat it as a separate value, it should be fixed so that it does. It seems like a valid filtering option, "Show me only data where this value is not null".
Hi, I know this post is from several months ago. But, I figure someone else is going to run into this and want an actual solution. I did a workaround where I added another text column for display with values: 'True', 'False' and null. The slicer works correctly based on that text column.
Hi,
After my test, i think it is a deafult design that if not True, return False regardless of whether is blank or not.
In other words, False includes Blank.
Best Regards,
Giotto
So, what is the data type of your slicer column, boolean?
It could be that the blank is getting thrown in there because there are non matching rows in some connected table.
The column I'm using for the slicer is type "True/false". Is there a "boolean" type I'm missing, or is it just the "True/false"?
The only other table I have is a single value with the date, so I don't think it's a issue with other tables.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 11 | |
| 11 | |
| 9 | |
| 8 | |
| 8 |