Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Anonymous
Not applicable

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
v-chuncz-msft
Community Support
Community Support

@Anonymous ,

 

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.

View solution in original post

2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@Anonymous ,

 

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.
Anonymous
Not applicable

Amazing! Thank you very much!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.