GetPivotData Erorr Pivot Table Power BI Dataset

wsnyder

Board Regular
Joined
Sep 23, 2018
Messages
223
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

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
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,221,526
Messages
6,160,340
Members
451,637
Latest member
hvp2262

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