Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I have a question about using slicers in my report.
I make slicer which show the two years, I have just two values in my year table.
But I also see blank value , is it possible to hide this one ?
Thanks for your time
GGR
Solved! Go to Solution.
@adamgor A work around I use quite often is to start with a visual that allows you to filter the value, select/exclude the blank, then change the visual to a slicer and the blank should be gone.
I have found another solution that might work for someone. Go to transform data, then go to Remove Rows, and Remove Blank Rows for all the datasets. Then Save and Close. I hope it will work too.
I was having the same issue. Here is the solution:
1: Go to Model (the last on the left side menu)
2: See if there is an unwanted relationship between data sets. (There must be one)
3: Delete the relationship and boom (now check)
This pointed me in the right direction, but the solution was a little different. I checked my relationships and all of them were wanted. However, one of the tables had a value in the related field that was not present in the slicer table version of that field. This was enough to create the blank value.
In my case, this was actually a data error and fixing the field removed the blank. Other people may find the other value is correct, in which case the solution may be to add the extra values to the slicing table.
The general principle is the same though - the blank may be coming from a relationship one way or another.
I had the same problem, some rare values were not recorded in the dim table.
Thank you very much!!
This worked for me! This solution solves the problem at the root of the problem. Not just putting a bandaid to cover the problem without really solving the problem. Thank you rehanmaqbul!
I right-clicked on (Blank) in the visual and clicked "Exclude".
The "(Blank)" grouping no longer appeared in my visual which was good enough for my purposes.
Simple and easy to overcome...and it is already built in...
Create a quick measure from the data entity measure used for your slicer/visual.
When creating the Quick measure select "different from the filtered value"
Then add your original entity measure as the default.
Then select the drop down -
options are:
"Show as Blank"
Or
"Show as "0" in place of blank"
Select
"Show "0" in place of Blank"
Now save the quick measure.
Go back to your slicer/visual and replace the selected entity measure with your newly created quick measure.... and Voila...No More (Blanks) on your visual/Slicer.
Hey guys 🙂
I am not sure if anybody did not have the solution earlier but I did this:
Regards,
Ignas
Thank you very much, that was the solution for me.
I don’t think this is a bug. The reason you may think this is a bug is because the "Slicer" treats "Blanks" different to other visuals. Try the following to see if you have the same issue as I did and then how you can fix it
Issue:
Fact Table
[Column 1]
a1
a2
a3
Data Table
[Column 1] [Column 2] [Column 3]
a1 b1 100
a2 b2 200
b3 300
Relationship
Fact Table [Column 1] >> Data Table[Column 1]
Bring [Column 1] from Fact Table into slicer
Bring [Column 1] from Fact Table into table
You will see [Blank] in the Slicer although you don't have any blank in this column in the fact table. But, when you bring the same field in the a table visual you don't see the blank. The table visual doesn't show the blank because a table visual (or any other visual) will remove the row if all the values in that row is blank.
The reason for you see Blank in the slicer is because the Data Table has a "blank" value in [Column 1].
If you bring [Column 1] from the Data table in the "Table" visual, you will not see the blank. This is because the "table" will automatically remove the blanks. Bring in another [Column 2] from Data table in the "table" visual and you can now see the blank.
HOW TO FIX THIS
Create a table from the Data table, bring in the column causing you this issue and another column (both from the Data table) without summarizing any of the field (i..e don't add or count any of the field). You will see the row with the blank field.
Thanks
Nishant
Hi Team,
im new to power BI so please bare with me. im working on a performance report for our company but when i created sumary table with Gauge Chart, it shows a blank in the slicer. i checked all my raw data but i cant see any blank in there. please see below for the samples.
In my case the (Blank) on a slicer only appears if there is more than one relationship to the dimension table. So it seems like a bug since I do not have any blanks within my data.
I was able to address this by simply changing the way the table interact with each other. In the relationships section in Desktop you need to select the relationship and the option on the bottomr right "Cross filter direction" needs to be set to "Both".
One more bit of advice...if you want to use Row Level Security you cannot check the box "Apply security filter in both directions". No matter the difference having the Both should address your issue though as long as you do it on the relationship to the table the filter belongs to.
Thank you for this. My table does not have any blanks but on implementing this option addresses the problem. Would you now happen to know why this eliminates the blank?
Thank you! You're the best this worked and I was literally losing it over this tiny lil error. My data did not have any blanks and I tried everything from removing blanks, replacing null, etc.
In my case the (Blank) on a slicer only appears if there is more than one relationship to the dimension table. So it seems like a bug since I do not have any blanks within my data.
To remove the Blank in slicer
create YearTable with Index > build relation YearTable to DateTable
Use the YearTable Year to your year Slicer
I also used this trick.
That seems to work; thank you!
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
109 | |
100 | |
95 | |
38 | |
37 |
User | Count |
---|---|
151 | |
126 | |
75 | |
74 | |
57 |