Forum Discussion
NorbertoG
Dec 02, 2021Copper Contributor
Can you ask a filter to no show all results if less than X amount of rows?
Hi, I'm working on a culture survey analysis for a client and I'm facing two things to solve. The first one is with a filtered table, for confidentiality I would like the results to be filtered if th...
- Dec 05, 2021
Ah, thank you SergeiBaklan 🙂
Then the data source may be dynamic, avoiding 'blanks' in the pivot table, by using a named range that adjusts to the filtered data by referring to
=OFFSET($P$5,0,0,ROWS($P$5#),COLUMNS($P$5#))where P5
=FILTER(Table1[[#All];[Date]:[Amount]];Table1[[#All];[Display]]<>"********")
bosinander
Dec 04, 2021Iron Contributor
Hi NorbertoG
With a helper column like Display below you can mark those not to be disclosed;
=IF(COUNTIFS([Country],[@Country])<10,"********",[@Country])
Use Power Query (Data: Get & Transform) to load that data table into a new table and exclude the records not to be disclosed.
Use the new table as source for your pivot table and insert a new slicer.
- SergeiBaklanDec 04, 2021Diamond Contributor
Afraid Power Query won't work on Mac.
- bosinanderDec 05, 2021Iron Contributor
Ah, thank you SergeiBaklan 🙂
Then the data source may be dynamic, avoiding 'blanks' in the pivot table, by using a named range that adjusts to the filtered data by referring to
=OFFSET($P$5,0,0,ROWS($P$5#),COLUMNS($P$5#))where P5
=FILTER(Table1[[#All];[Date]:[Amount]];Table1[[#All];[Display]]<>"********")- NorbertoGDec 08, 2021Copper Contributorthank you! will try it out as I'm moving forward offering a dashboard as a product with Culture Surveys now, keeping confidentiality is important here. 😄