Display data from the Grand Total column of a Pivot Table on a Stacked Pivot Chart

Поделиться
HTML-код
  • Опубликовано: 26 июн 2014
  • In this video, I'd like to share the process of "Displaying data from the Grand Total column of a Pivot Table on a stacked Pivot Chart" using Microsoft PowerPivot and CUBE functions.
    I have blogged about this problem at this link on my website - www.ashishmathur.com/display-d...

Комментарии • 60

  • @jackconsidine2681
    @jackconsidine2681 Год назад +1

    You are a genius, thank you greatly for your help, you have solved my issues. After scouring Google for a while, this is the absolute best method for doing just this task. Microsoft really need to add in a way for us to do this easily, hopefully that comes soon enoough. To add, you've also shown me (perhaps without realising); that if my data set is static, e.g. for a one-time graph, I can copy/paste my pivot table and create a pivot chart from that pasted value data. That has allowed me to utilise Grand-totals within the graph. If the dynamism is required, the rest of the video helps solve that issue. Excellent video and thank you for helping me out.

    • @excelenthusiasts
      @excelenthusiasts  Год назад

      You are most welcome. Thank you for your kind words.

  • @pernillapop
    @pernillapop 6 лет назад +1

    Thank you so much! Your video really helped me to solve something i've been struggling with all day! :)

  • @KJLastone1
    @KJLastone1 8 лет назад

    thanks for uploading this vidoe, it really helped to solve my problem

  • @namrata6139
    @namrata6139 Год назад

    Thank you so much for such a detailed explaination!

  • @catherinekerr4060
    @catherinekerr4060 8 лет назад +2

    This is a really excellent video - well done Ashish. I had a problem similar to Lyn Tan. The Slicer information was not being included in the CUBEVALUE formulas. I think it was because I was slicing on the same field as the pivot table column - for example the Product field. I got around this by adding a new column to my PowerPivot table which was a copy of the Product column and then I sliced on the new column instead. It's all working beautifully now :)

    • @excelenthusiasts
      @excelenthusiasts  8 лет назад

      +Catherine Kerr You are welcome. Thank you for your kind words.

  • @semperdiscendum7439
    @semperdiscendum7439 7 лет назад

    Awesome! thank you! Please keep enlightening us!

  • @Diegorttt
    @Diegorttt 9 лет назад

    This video really helped me! Thanks a lot!

  • @machineuser2501
    @machineuser2501 8 лет назад

    great video with clear explanation! solved my problem :)

  • @njokinjukilucy3915
    @njokinjukilucy3915 4 года назад

    Thank you so much. This was helpful and educative.

  • @habeebrahiman3621
    @habeebrahiman3621 3 года назад

    It was excellent sir. I was looking for same solution since 2 months..

  • @FrancescoFeliciani
    @FrancescoFeliciani 9 лет назад

    Thanks very much for the video.
    Another simple way to add labels in the chart that gets automatically updated is to add text in the chart with value that points to the pivot table, e.g. Add Text with value ='Projects overview tables'!$B$129, where 'Projects overview tables'!$B$129 is the cell in the pivot table with the info you need to display, e.g. =CONCATENATE("TOTAL: ",C145," projects")
    Hope it helps somebody looking for an easy way out.

    • @excelenthusiasts
      @excelenthusiasts  9 лет назад

      Hi,
      You are welcome. I did not understand - please share a more detailed explanation.

    • @FrancescoFeliciani
      @FrancescoFeliciani 9 лет назад

      Ashish Mathur
      Hello. Using Office 2010, from the Insert tab, I have added a Text Box (graphic element) in the chart where I need to display the figure with the Total. Then I have given as value of the Text Box what explained above. No much to add. Regards

    • @excelenthusiasts
      @excelenthusiasts  9 лет назад

      Francesco Feliciani Thank you for sharing.

  • @AlphaLegionXX
    @AlphaLegionXX 3 года назад

    Thank you boss!!

  • @mishasvetalekar
    @mishasvetalekar 8 лет назад

    Great stuff from one video, slicer is a bonus

  • @angrrra
    @angrrra 9 лет назад

    Thanks, helped me to do my work easier today :)

  • @Nico.75
    @Nico.75 4 года назад

    Great video, thank you! May I ask you how to get the "Converted to Formulas" table dynamically changes its shape when you change the shape of the original pivot table (for example while adding a new field to the row or column layer...)? Or is this converted table just a static shaped copy with dynamically changed values due to slicing?

  • @jso2332
    @jso2332 8 лет назад

    thank you for sharing

  • @rondrigot
    @rondrigot 8 лет назад

    Hi Ashish, very clear video. Should Excel 2013 automatically include slicers in the CUBE formula when you do the conversion at 8:11? Mine does not, and if I add the slicer field (which Excel recognizes as soon as I start typing) all I get is #VALUE!. Is there something I should install or enable? Thanks!

    • @excelenthusiasts
      @excelenthusiasts  8 лет назад

      +Rodrigo Torres Hi, Thank you. Nothing to be installed at all. That should happen automatically. I need to see the workbook.

  • @paulmce1279
    @paulmce1279 9 лет назад

    HI Ashish - this makes a lot of sense. What if you had a slicer that had the ability to toggle between all 4 quarters of the year. In my situation (and after following your excellent guidance) I have 36 months of data with 6 series including the grand total. If I click on the first quarter slicer for 2014, it shows the bars for Jan, Feb, March 2014 and their data correctly, but still displays all other months (lets say in this case June 2013) on the horizontal axis with non existent bars. Is there a way the chart can dynamically omit horizontal axis row labels that aren't applicable to the slicer selection (i.e. omit everything outside of Q1 2014)?

    • @excelenthusiasts
      @excelenthusiasts  9 лет назад

      Hi,
      Thank you for your kind words. Upload your workbook to OneDrive and share the link of the workbook here.

    • @paulmce6462
      @paulmce6462 9 лет назад

      Ashish Mathur Hi Ashish - thanks for reaching out. Unfortunately I'm unable to since the spreadsheet information is connected to a secured database. If you removed all the April data from your source spreadsheet and click on one of your slicers you should find the same issue I'm facing..

    • @excelenthusiasts
      @excelenthusiasts  9 лет назад

      Paul McE Hi. I delete the 3 rows of April from my source data worksheet and refreshed the Pivot Table. This caused the CUBE formula table to refresh as well. However, a row with #NA's appears. You may filter out the #NA rows from the CUBE formula table. The Pivot chart should appear just fine.

  • @KarenGumerov
    @KarenGumerov 6 лет назад

    It seems to work only if the number of rows (month names) is static. What if months were also dynamically set in slicer. Is there a solution for this case?

    • @excelenthusiasts
      @excelenthusiasts  6 лет назад

      I don't think so. One will have to manually drag the formula down

  • @marketbeans
    @marketbeans 7 лет назад

    I excellent video
    Do you have a video on how to format the data table say which might be showing a grand total column to bold ?

    • @excelenthusiasts
      @excelenthusiasts  7 лет назад

      Thank you. Just format that row/column to Bold.

    • @marketbeans
      @marketbeans 7 лет назад

      Ashish Mathur
      Sorry I should have clarified that by data table I meant the one that you activate within a graph

    • @excelenthusiasts
      @excelenthusiasts  7 лет назад

      I don't think I can solve that.

  • @Beauty_of_World_Nature
    @Beauty_of_World_Nature 7 месяцев назад

    Hi, I did the same but slicer not impacting the below formula table values. Its remain same, What mistake I Did?

  • @Roscoe174
    @Roscoe174 6 лет назад

    Hi Ashish,
    When I copy my pivot table, the slicer doesn't go with it. I noticed in your formula that there was ",slicer_region1,slicer_area1" after the cubevalue... Mine doesn't have this, so I tried to manually add it, but I get a #VALUE! error. Any guidance how I can get it to use the slicers in the formula?

  • @swatigupta9750
    @swatigupta9750 7 лет назад

    The slicer doesn't seem to work in the pivot after converting to formula. Any suggestions?

    • @excelenthusiasts
      @excelenthusiasts  7 лет назад

      It should. Share the link from where I can download your workbook.

  • @chandmurali
    @chandmurali 9 лет назад

    Most of the audio is very low and i had to focus my attention.otherwise it a well presented and usefull information

    • @excelenthusiasts
      @excelenthusiasts  9 лет назад

      Murali Chandran Thank you. For further videos, I will increase the volume while recording

  • @lyntan4237
    @lyntan4237 8 лет назад

    i do the exact same way. but when i filter my pivot table after converting to formulas for the copied table, the copied table does not move according to the filters. it stays there. please help.

    • @excelenthusiasts
      @excelenthusiasts  8 лет назад

      +Lyn Tan Hi. Upload your workbook to OneDrive and share the link of the workbook here.

    • @lyntan4237
      @lyntan4237 8 лет назад

      +Ashish Mathur sorry i cant its a confidential file. any ideas why? because my month isnt fixed. it moves according to the product i filtered. like some product only some months will have.

    • @excelenthusiasts
      @excelenthusiasts  8 лет назад

      +Lyn Tan Hi. Please create a dummy dataset and share that workbook.

  • @yoyoyoyoyo6714
    @yoyoyoyoyo6714 3 года назад

    thanks for the video but why tf is it so complicated to do that simple task microsoft should get their shit together