Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I have an IP Address column where there are various IP values and nulls. I want to set up a slicer to show null or not null values, does anyone know how I can set that up? I have my slicer set up to show the null values, but not sure how to do a not null option. I do not want the slicer to show each individual IP address because then it is a huge list that is not useful.
Solved! Go to Solution.
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!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
104 | |
96 | |
79 | |
67 | |
62 |
User | Count |
---|---|
137 | |
106 | |
104 | |
81 | |
63 |