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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
umairarshad
Helper II
Helper II

Pivot table error

Hello,

I am sorry if i selected the wrong section.

I am working on a pivot table. When I drag it, the value did not change.

Please see screenshoot below

 

umairarshad_1-1722521084373.png

 

Please tell how to fix it?

6 REPLIES 6
ryan_mayu
Super User
Super User

@umairarshad 

The month in formula is always "Apr". You should change it to the cell name. 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




I tried it but got the following error.

 

umairarshad_0-1722575557571.png

 

umairarshad_1-1722575580191.png

 

What to do?

Let me try. Will let you know.

@umairarshad 

pls try something like below

 

=GETPIVOTDATA("[Measures].[downtimecount]",$B$3,"[Table5].[Station]","[Table5].[Station].&[ISB]","[Table5].[Month]","[Table5].[Month].&["&P19&"]")

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




I am unable to do.

 

Can you please correct? I am pasting the formula.

 

=GETPIVOTDATA("[Measures].[Count of Downtime]",$O$18,"[Downtime].[Station]","[Downtime].[Station].&[ISB]","[MTBF Available Time].[Month]","[MTBF Available Time].[Month].&[Apr]")

pls try this

 

=GETPIVOTDATA("[Measures].[Count of Downtime]",$O$18,"[Downtime].[Station]","[Downtime].[Station].&[ISB]","[MTBF Available Time].[Month]","[MTBF Available Time].[Month].&["&P19&"]")





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors
Top Kudoed Authors