Forum Discussion
Slicer Hide values w/ No Data
Slicer = Sub Account No. (Departments) filtering current year spend by department. Currently the slicer is showing departments with no current year spend. How can I hide these departments to reduce the department list?
- Anonymous7 years ago
Hi,
I have the same problem, I have my customer table related to my Sales table, EBITDA Table and Overdue Table, when I look for a specific segment (which it's in my Customer table), the slicer show me all the customer in the segment with and without sales or overdue.
How I tried to solve this:
In my model i have tables reference to the sales, and overdue table, group by Customer ID, then I union both tables and remove duplicates. with this I have the Customer id with sales, I meger this table to my main customer table, and filter to show only values with no null values.
Hope this result for you.
this can applied in others cases.
10 Replies
- AnonymousNot applicable
Create a measure like INT ( NOT ISEMPTY ( FactTable ) ), use it as a visual level filter for the slicer and set it to 1.
- AnonymousNot applicable
This will help you.
https://community.powerbi.com/t5/Desktop/Filter-Months-from-Month-Slicer/m-p/432765#M199475
Thanks
Raj
- AnonymousNot applicable
I have looked at this option. Is a work around the only way?
- Ashish_Mathur
Super User
Hi,
Share some data. Show your measure here. Also, show your expected result.
- AnonymousNot applicable
As you can see the slicer is showing account no. with no sales. My question is how do I hide the slicers with no sales data.
- AnonymousNot applicable
Seems like there should be an easy solution to this...Can anyone help?
- AnonymousNot applicable
This might have been solved now - make sure the slicer is selected then click slicer on the ribbon.
Click on "Slicer Settings" and you have the option to Hide items with no data, click this and those with no info are gone 🙂
- user10456
Advocate I
There is no "Hide items with no data" option in Slicer Settings.
- JamesDiMaioNew Member
The solution is to add an additional filter to the slicer. The addition filter would be the value of whatever you are slicing. So for the example in this thread, just add sales to account no. slicer filter.