May 28 2021 07:36 PM
Hi guys, I am trying to create a dynamic table (Table 2 in "Report" sheet) and fill field values from the data in pivot table in "Pivot 1" sheet. For instance when I select the region R1 using the dropdown box in "Report" sheet, I want it to display all the corresponding data from the pivot table. The format/layout of the dashboard/Table 2 must remain unchanged. Greatly appreciate if anyone can help me with this been struggling a lot with this!
Cheers!
May 28 2021 09:49 PM
Solution@Rockychap Changed the set-up of Pivot 1 and added dynamic GETPIVOTDATA formulae in the Report section. I think this is what you wanted to achieve. See attached.
May 28 2021 10:17 PM
May 29 2021 02:19 AM
With Excel 365 you can achieve the same results without the pivot table.
= LET(
selectedData, FILTER(Table2, Table2[Region]=selectedRegion),
area, INDEX(selectedData,,2),
volumeA, INDEX(selectedData,,3),
revenueA, INDEX(selectedData,,6),
priceA, revenueA/volumeA,
volumeLY, INDEX(selectedData,,5),
revenueLY, INDEX(selectedData,,8),
priceLY, revenueLY/volumeLY,
CHOOSE({1,2,3,4,5,6,7}, area,
volumeA, revenueA, 100*priceA,
100*(volumeA/volumeLY-1),
100*(revenueA/revenueLY-1),
100*(priceA/priceLY-1)) )
The formula is rather long but, entered into cell C52, it generates the entire array of results.
Sep 24 2021 04:41 AM
May 28 2021 09:49 PM
Solution@Rockychap Changed the set-up of Pivot 1 and added dynamic GETPIVOTDATA formulae in the Report section. I think this is what you wanted to achieve. See attached.