cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mantastg Frequent Visitor
Frequent Visitor

How to show rows with no data after applying a slicer?

Hi all, 

 

I am developing a reporting tool for scheduling and am facing some troubles. After I apply a slicer to view a specific period of time, the rows without any data for that particular period are hidden. Could someone please advice how this could be avoided? Maybe there is a smarter way how to filter the date than applying the slicer?

 

Simple example of my situation.

> There are 3 variables - Machine, Date, Hours;

> Machine C, purposely, has no data in the dataset (meaning it is never booked);

> "show items with missing data" is enabled for the 'Machine' variable;

> The result - all machines (A, B, C) are shown when the slicer is not adjusted;

 

pbi3.png

 

> When the slicer is adjusted to show a specific period, Machine A dissapears (because it has no data for the selected period) from a list while Machine C (has not data at all) is still there. 

pbi4.png

 

A desired result would be to be to see all machines (A, B, C) in the table after the slicer has been applied. I would sincerely appreciate an advice on how to approach this. Just in case, here is a link to the files: https://drive.google.com/open?id=1kuDCJwfQEiQfqE4vrNEuNMjmKWeCsRGU.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: How to show rows with no data after applying a slicer?

@mantastg ,

 

Drag [Machine] from the following calculated table and build relationship.

 

Table =
DISTINCT ( Sheet1[Machine] )

 

 

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 REPLIES 2
Community Support Team
Community Support Team

Re: How to show rows with no data after applying a slicer?

@mantastg ,

 

Drag [Machine] from the following calculated table and build relationship.

 

Table =
DISTINCT ( Sheet1[Machine] )

 

 

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
mantastg Frequent Visitor
Frequent Visitor

Re: How to show rows with no data after applying a slicer?

Amazing! Thank you very much!