PivotTable "Show items with no data" not working with Data Model

AEAA

New Member
Joined
Apr 12, 2022
Messages
30
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
Hi all,

I currently have a PivotTable linked to a Data Model and when I go to Field Settings -> Display -> Show items with no data is greyed out:

1667384109045.png


My problem is that I have a data with the following categories: 1) Distributed, 2) Partially Complete, 3) Complete

My full results are:

1667384189524.png


As soon as I filter the data with a Slicer, For example: Out of 994, a group of 24 people have 0 Distributed 1 Partially Complete and 23 Complete. But the PivotTable shows like this:

1667384286718.png
(NO DISTRIBUTED)

And when the value is queried

1667384319775.png


I would like to show distributed as either blank or zero in my PivotTable. All my PivotCharts get ruined because of this.

Thank you for your help.
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Does anyone have any advice on this one? I still haven't been able to figure it out. Thanks.
 
Upvote 0
This video solves it:

Create table with all your fixed categories -> Load to Data Model -> Create relationship with the category -> Create a measure with:

=IF(ISBLANK(COUNT(Demographics[Response]));0;COUNT(Demographics[Response]))

OR

=IF(ISBLANK(SUM(Demographics[Response]));0;SUM(Demographics[Response]))

 
Upvote 0
Solution

Forum statistics

Threads
1,214,857
Messages
6,121,948
Members
449,056
Latest member
FreeCricketId

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top