Forum

Notifications
Clear all

How to add the average baseline for a specific pivot chart

15 Posts
2 Users
0 Reactions
205 Views
(@shaakir725)
Posts: 15
Eminent Member
Topic starter
 

PivotQ1.pngPivotQ2.pngpls, reply for further explanation??

 
Posted : 29/03/2020 9:29 pm
(@mynda)
Posts: 4761
Member Admin
 

Hi Ahamed,

Welcome to our forum. Please explain in words what your question is.

Many thanks,

Mynda

 
Posted : 30/03/2020 7:25 am
(@shaakir725)
Posts: 15
Eminent Member
Topic starter
 

PivotQ3.pngthis is the master database,PivotQ1-1.png this is the pivot tables, and the following are the charts, PivotQ2-1.pngPivotQ4.png

I have to change the month and the year for analysis. The problem is I can't get the same format chart data labels when I change the month/year. Also, the same issue occurred for the trend lines but I managed to write a macro for that and it is working. But the macro thing is not working for data labels of the average baseline (red line) on the 4th image (PivotQ4).

I am looking forward for your reply,

 
Posted : 30/03/2020 9:47 pm
(@shaakir725)
Posts: 15
Eminent Member
Topic starter
 

I need to add "data callout" to all the charts automatically when I change it (Month/Year).

PivotQ5.png

 
Posted : 30/03/2020 10:01 pm
(@mynda)
Posts: 4761
Member Admin
 

Hi Ahmed,

I don't see what the problem is. If I remove the trend lines and then add them again in the chart settings I can change the selections in the Slicer and the charts retain the trend line. The labels are also retained.

Please show me before and after examples of what you want to see vs what you get. I also need to know the steps you're taking so I can reproduce the problem at my end.

Please upload images that are big enough for me to see. The ones you've shared so far are too small, sorry.

Mynda

 
Posted : 31/03/2020 12:19 am
(@shaakir725)
Posts: 15
Eminent Member
Topic starter
 

Ok pls check the three snaps, PivotQ1.1.pngI did add the data callout to that red average line for "Jan",PivotQ1.2.pngNow clicking the "Feb" tab, PivotQ1.3.pngThat callout is not appearing,  i need to automate that, as I have about 40 charts for one month!!

 
Posted : 31/03/2020 11:46 am
(@shaakir725)
Posts: 15
Eminent Member
Topic starter
 

If you can come through Teamviewer or any remote access app will be more convenient, only if you can 

 
Posted : 31/03/2020 11:48 am
(@mynda)
Posts: 4761
Member Admin
 

Hi Ahmed,

It's a little clearer, but for future reference, the images are still way too small. I don't need to see your whole screen, just the relevant parts. This may enable you to make the screenshot bigger so I can see it. You can see what I see by clicking on the images you have embedded. Hopefully this will help you appreciate the difficulty I'm having in understanding your question.

I recommend you use custom chart data labels as described here

Mynda

 
Posted : 31/03/2020 7:08 pm
(@shaakir725)
Posts: 15
Eminent Member
Topic starter
 

Pls check these images (Steps),

PivotQ2.1.PNGPivotQ2.2.PNGPivotQ2.3.PNGPivotQ2.4.PNG 

 

Is it clear enough? When I change April to May Data Label of the red line isn't changing and appearing.

 
Posted : 01/04/2020 1:39 pm
(@mynda)
Posts: 4761
Member Admin
 

Those images appear blank. But don't worry as I've given you the solution in the link above.

 
Posted : 01/04/2020 7:15 pm
(@shaakir725)
Posts: 15
Eminent Member
Topic starter
 

Ohh Sorry,

PivotQ2.1-1.PNGPivotQ2.2-2.PNG PivotQ2.3-1.PNGPivotQ2.4-1.PNG 

 
Posted : 01/04/2020 9:24 pm
(@mynda)
Posts: 4761
Member Admin
 

Hi Ahamed,

When you programatically apply a label it doesn't respond to changes in the PivotTable. i.e. when you add a label using a macro. You need to edit the label formatting so that it is displaying the 'Value' and position is 'below'. Then when you make changes in the slicer it will be reflected in the chart. In other words, ditch the macros, as these are causing the problems and add the labels through the chart formatting options.

Mynda

 
Posted : 01/04/2020 10:23 pm
(@shaakir725)
Posts: 15
Eminent Member
Topic starter
 

Nope that Macro doesn't work, do you know a way to add labels to the whole Sum of AR AVE LABEL Series (Yellow dots)? 

When I can't select the whole series once because there is no line (How can I get the line without each point, then it would be easy to add the data labels to the whole series.

I think better you come remote access my PC, or can you help me sort this out in the excel and send me. This is a small thing I couldn't find solutions online even.

PivotQ3.1.PNG 

 
Posted : 02/04/2020 11:04 am
(@shaakir725)
Posts: 15
Eminent Member
Topic starter
 

File

 
Posted : 02/04/2020 11:05 am
(@shaakir725)
Posts: 15
Eminent Member
Topic starter
 

I got it thanks for your reply and patience. I will be following you and will recommend you for sure

 
Posted : 02/04/2020 11:10 am
Share: