Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
maasool
Helper I
Helper I

GETPIVOTDATA referencing error

Hello

My cube formula looks like this:

=GETPIVOTDATA("[Measures].[Sum of Value 3]";$A$18;"[Kalender].[YYYYMM]";"[Kalender].[YYYYMM].&[2.02001E5]")

I'd like to change this highlighted part to a reference to a cell. However, If I do it like this, then I get REF error. What is the problem?

=GETPIVOTDATA("[Measures].[Sum of Value 3]";$A$18;"[Kalender].[YYYYMM]";"[Kalender].[YYYYMM].&["&C19&"]")

In cell C19 I have the YYYYMM value used in the pivot (202001).

Thanks for the help!

2 REPLIES 2
Anonymous
Not applicable

Hi @maasool ,

 

I'm sorry you're having trouble. But your question doesn't seem to belong to the Power Query forum. In the Power Query, M language is used mostly. The function you provided seems to be from the Excel, right?

You may refer to the document for reference:

GETPIVOTDATA function (microsoft.com)

 

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Microsoft doesn't seem to have Power Pivot forum and this seemed the closest place to it.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.