Thought the options box was for doing this but doesn't seem to work.
I have a list of 79 gyms in a city of which I have contracted with 14. I have sorted the gyms by post code and there are about 25 postcodes. I have put all the gym names in a vertical slicer and selecting all the ones contracted and potential new signings. I'm looking to get a certain % in each postcode to give me uniform coverage. I'm trying to build a pivot table that for each post code gives me the total gyms in the post code (using the allexcept function) and the total from the clicks in the slicer. This all works fine except the pivot table only shows the postcodes for the gyms I have selected. I wanted the pivot to show every post code that has a gym with a zero for the number of gyms if I haven't selected one in that postcode.
In the options I can click on "show items with no data on rows" and columns. The "display item label fields when no fields are in the value area" is ticked but greyed out. Are any of these meant to show what I'm looking for? I was expecting what I had to work because I have a measure
=CALCULATE(counta(leeds2[Company]),ALLEXCEPT(leeds2,leeds2[Postcode District]))
This counts the companies and ignores the selection of companies in the slicer. It does this fine but only shows for postcodes driven by the slicer selection.
any help appreciated as sure it is a simple answer!
Mike
I have a list of 79 gyms in a city of which I have contracted with 14. I have sorted the gyms by post code and there are about 25 postcodes. I have put all the gym names in a vertical slicer and selecting all the ones contracted and potential new signings. I'm looking to get a certain % in each postcode to give me uniform coverage. I'm trying to build a pivot table that for each post code gives me the total gyms in the post code (using the allexcept function) and the total from the clicks in the slicer. This all works fine except the pivot table only shows the postcodes for the gyms I have selected. I wanted the pivot to show every post code that has a gym with a zero for the number of gyms if I haven't selected one in that postcode.
In the options I can click on "show items with no data on rows" and columns. The "display item label fields when no fields are in the value area" is ticked but greyed out. Are any of these meant to show what I'm looking for? I was expecting what I had to work because I have a measure
=CALCULATE(counta(leeds2[Company]),ALLEXCEPT(leeds2,leeds2[Postcode District]))
This counts the companies and ignores the selection of companies in the slicer. It does this fine but only shows for postcodes driven by the slicer selection.
any help appreciated as sure it is a simple answer!
Mike