Forum

Pivot Column with A...
 
Notifications
Clear all

Pivot Column with Average and Median

3 Posts
2 Users
0 Reactions
67 Views
(@prkhan56)
Posts: 7
Active Member
Topic starter
 

Hello All,

I am enclosing herewith a sample file I have downloaded from myexcelonline website.

I am currently learning power query.

When I am using Pivot Column with Median and Average the Median Query shows Qtr1 as Blank and the Average Query shows all 4 Qtrs as Blanks.

In Power Query it shows the values under all the 4 Qtrs in both instances.

I searched the internet for the solution but could not get the answer.

What am I doing wrong?

All other functions work except Median and Average.

Any help and guidance would be appreciated.

Thanks in advance.

Rashid Khan

 
Posted : 02/07/2021 4:40 pm
(@mynda)
Posts: 4761
Member Admin
 

Hi Rashid,

Change the data type to decimal number and then the queries can load correctly. 

Maybe next time you should learn Power Query from me 😉

Mynda

 
Posted : 02/07/2021 8:45 pm
(@prkhan56)
Posts: 7
Active Member
Topic starter
 

Hi Mynda,

Thanks for your reply. It works after changing the Data Types to Decimal.

Now I understand the importance of Data Types.

I will keep in mind your offer.

Rashid

 
Posted : 03/07/2021 6:04 am
Share: