Forum Discussion
How to create slicer with null and not null?
- 5 years ago
Hi wasonj1 ,
I am assuming that your IP Address column is TEXT type in Power BI.
You can create a calculated column using DAX something like this:
newSlicer = IF(yourtable[ColumnName] = "null", "null", "not null")
In the above DAX formula replace yourtable[ColumnName] with your table name and column name that has IP address values.
Then use this newSlicer column as a slicer.
Thanks,
Pragati
Hi wasonj1 ,
I am assuming that your IP Address column is TEXT type in Power BI.
You can create a calculated column using DAX something like this:
newSlicer = IF(yourtable[ColumnName] = "null", "null", "not null")
In the above DAX formula replace yourtable[ColumnName] with your table name and column name that has IP address values.
Then use this newSlicer column as a slicer.
Thanks,
Pragati
That did it perfectly! Thank you for your help!