• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member
  • Login

Grand Totals on Pivot Charts|Dashboards & Charts|Excel Forum|My Online Training Hub

You are here: Home / Grand Totals on Pivot Charts|Dashboards & Charts|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumDashboards & ChartsGrand Totals on Pivot Charts
sp_PrintTopic sp_TopicIcon
Grand Totals on Pivot Charts
Avatar
em em

Active Member
Members
Level 0
Forum Posts: 5
Member Since:
November 29, 2020
sp_UserOfflineSmall Offline
1
May 28, 2023 - 4:05 am
sp_Permalink sp_Print sp_EditHistory

This tutorial was amazing: Grand Totals in Pivot Charts. However, like Justin, I want to add data (months) to my table on a regular basis, so it seems I must use a dynamic named range. Unfortunately, I am lost between these two steps. I have a data table, which I turned into a proper table and then loaded it to the data model (as I am doing other things to it.)

My data table is simple, for these purposes, only two columns: the first is a row of dates and the second is a city (London, Paris, or Rome.) The pivot table summarizes how many destinations were chosen per month/year. The final chart is supposed to be a stacked bar chart with the total trips taken above each bar.

Is what Mynda is saying is that even though the table really has many other columns in it I need two named ranges (for the two relevant columns) or one named range for the whole table?

sp_AnswersTopicSeeAnswer See Answer
Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4614
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
2
May 28, 2023 - 3:44 pm
sp_Permalink sp_Print

The dynamic named ranges are for the data that feeds the chart so that as you add more months to your source data, those should feed thorugh to the CUBE formulas and you need dynamic named ranges that reference the cube formulas for the chart axis and value series.

If you're stuck, please upload your file or a sample file so we can see where you're up to and help you from there.

Mynda

Avatar
em em

Active Member
Members
Level 0
Forum Posts: 5
Member Since:
November 29, 2020
sp_UserOfflineSmall Offline
3
May 29, 2023 - 8:31 am
sp_Permalink sp_Print

The goal is to have a stacked column chart by month that shows the referrals, sales, and cancelled, with the total for the month above it.

I can set up a dynamic range for the decision date and the outcome:
=Sheet1!$d$2:INDEX(Sheet1!$d$2:$d$1000,COUNTA(Sheet1!$d$2:$d$1000)) and

=Sheet1!$e$2:INDEX(Sheet1!$e$2:$e$1000,COUNTA(Sheet1!$e$2:$e$1000)) ...

but then, where do I put them?

Thanks,

Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4614
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
4
May 29, 2023 - 4:35 pm
sp_Permalink sp_Print sp_EditHistory

The dynamic named ranges refer to the CUBE formula table, not the source data. You then use those names in your chart, as explained in the tutorial called create a regular charts from PivotTables

See file attached.

Mynda

sp_AnswersTopicAnswer
Answers Post
Avatar
em em

Active Member
Members
Level 0
Forum Posts: 5
Member Since:
November 29, 2020
sp_UserOfflineSmall Offline
5
May 31, 2023 - 8:13 am
sp_Permalink sp_Print

It worked perfectly! Thank you!

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Filipa Almeida, Lee Mapes, Lorna Henning, Tracy English, Joaquim Amorim, Shoua Lee
Guest(s) 8
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 880
Purfleet: 414
Frans Visser: 346
David_Ng: 306
lea cohen: 237
Jessica Stewart: 219
A.Maurizio: 213
Aye Mu: 201
jaryszek: 183
Newest Members:
David von Kleek
Ronald White
Ginette Guevremont
Taryn Ambrosi
Mark Davenport
Christy Nichols
Harald Endres
Ashley Hughes
Herbie Key
Trevor Pindling
Forum Stats:
Groups: 3
Forums: 24
Topics: 6528
Posts: 28594

 

Member Stats:
Guest Posters: 49
Members: 32817
Moderators: 2
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel Office Scripts
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook

Sign up to our newsletter and join over 400,000
others who learn Excel and Power BI with us.

 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate
  • Sponsor Our Newsletter

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.