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
bmm
Regular Visitor

show items with no data

I have a table where I want to show data for for instance Feb 2017 but also a running total for all categories not just those with data in Feb 2017.  I have a slicer in Power BI to select the Feb 2017 data.  When this is selected I can only see categories that have data.  What I want to do is replicate the behaviour of a pivot table 'show items with no data'.  There seems to be an equivalent in Power BI 'show items with no data' but this does not work.

 

excel pivot table before 'show items with no data'

 

OpenDate01/02/2017
  
Row LabelsCount of Date Open
Academy249
Academy61
Academy715
Grand Total65

 

 

excel pivot table after 'show items with no data'

OpenDate01/02/2017
  
Row LabelsCount of Date Open
Academy1 
Academy249
Academy3 
Academy4 
Academy5 
Academy61
Academy715
Academy8 
Academy9 
Grand Total65
1 ACCEPTED SOLUTION
Eric_Zhang
Employee
Employee

@bmm

 

You will have to use a Academies table.

 

Capture.PNG

 

And map the proper relationship.

Capture.PNG

 

Then use a Measure to show 0 when the academy is missing.

CNT MEASURE = IF(ISBLANK(SUM(YourTable[cnt])),0,SUM(YourTable[cnt]))

Capture.PNG

View solution in original post

1 REPLY 1
Eric_Zhang
Employee
Employee

@bmm

 

You will have to use a Academies table.

 

Capture.PNG

 

And map the proper relationship.

Capture.PNG

 

Then use a Measure to show 0 when the academy is missing.

CNT MEASURE = IF(ISBLANK(SUM(YourTable[cnt])),0,SUM(YourTable[cnt]))

Capture.PNG

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.

Top Solution Authors