GetPivotData Erorr Pivot Table Power BI Dataset

wsnyder

Board Regular
Joined
Sep 23, 2018
Messages
224
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I connected to a Dataset in Power BI and built a Pivot Table in Excel.
I am trying to create a GetPivotData formula to summarize the Pivot Table, but I'm doing something wrong when I try to update the formula with cell references.

Excel Formula:
=GETPIVOTDATA("[Measures].[Revenue New]",Pivot!$A$5,"[Date Table].[Quarter]","[Date Table].[Quarter].&[Q1]","[Date Table].[Year]","[Date Table].[Year].&[2019]","[Bookings].[Team]","[Bookings].[Team].&[West]")

Here is what I have so far after I update cell references for Quarter, Year & Team:

Excel Formula:
=GETPIVOTDATA("[Measures].[Revenue New]",Pivot!$A$5,"[Date Table].[Quarter]","[Date Table].[Quarter]."&C$3&","[Date Table].[Year]","[Date Table].[Year]."&C$2&","[Bookings].[Team]","[Bookings].[Team]."&$A4&")

Any thoughts what I am doing wrong?
Thanks
-w
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
I seem to be a bit closer with this version, but now getting a #REF! error:
Excel Formula:
=GETPIVOTDATA("[Measures].[Revenue New]",Pivot!$A$5,"[Date Table].[Quarter]","[Date Table].[Quarter].[" & C$3 & "]","[Date Table].[Year]","[Date Table].[Year].[" & C$2 & "]","[Bookings].[Team]","[Bookings].[Team].[" & $A4 & "]")

Thanks,
-w
 
Upvote 0
Got it. This appears to be working:
Excel Formula:
=GETPIVOTDATA("[Measures].[Revenue New]",Pivot!$A$5,"[Date Table].[Quarter]","[Date Table].[Quarter].&[" & C$3 & "]","[Date Table].[Year]","[Date Table].[Year].&[" & C$2 & "]","[Bookings].[Team]","[Bookings].[Team].&[" & $A4 & "]")
 
Upvote 0
Solution

Forum statistics

Threads
1,223,907
Messages
6,175,300
Members
452,633
Latest member
DougMo

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