• 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
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

How can calculate % from column total not grand total|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / How can calculate % from column total not grand total|General Excel Questions & Answers|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
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 ForumGeneral Excel Questions & Answe…How can calculate % from column tot…
sp_PrintTopic sp_TopicIcon
How can calculate % from column total not grand total
Avatar
Alina Mates

Active Member
Members
Level 0
Forum Posts: 4
Member Since:
October 7, 2019
sp_UserOfflineSmall Offline
1
October 7, 2019 - 5:30 pm
sp_Permalink sp_Print

Hi,

I have a big data base, and I need to calculate % from column total (as we can do in power pivot) not from grand total, I don't know how can I combine data in a formula to obtain this.

Shortly, we have:

* price cluster: A1, A2, B1, B2, C1....

* Price store Type: CONTROL and PILOT

* no of stores for every Price store Type

* sales Gross Amt

I have attached an example file to see how I want the graph to look
 

 A1:
% for control (from A1)= control(from A1) / (control(from A1) + pilot(from A1))
% for pilot (from A1)= pilot (from A1) / (control (from A1) + pilot (from A1) )

Please help me with a formula

 

Thanks a lot

 

Alina

Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4449
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
2
October 7, 2019 - 8:29 pm
sp_Permalink sp_Print

Hi Alina,

Welcome to our forum.

If you know how to do it in Power Pivot then it's the same in Power BI because Power BI uses Power Pivot for the modelling and measures.

That said, you don't need to write a measure. You can do this with Show Values As in a matrix table in Power BI, then set the Values to Show Values as Percentage of Row total.

See attached example using a PivotTable in your Excel file.

Mynda

Avatar
Alina Mates

Active Member
Members
Level 0
Forum Posts: 4
Member Since:
October 7, 2019
sp_UserOfflineSmall Offline
3
October 8, 2019 - 5:56 pm
sp_Permalink sp_Print

explain-photo-for-Mynda.PNGImage Enlarger

 folruma-pt-procent-din-price-cluster.PNGImage Enlarger
graficul-pentru-share-din-price-cluster.PNGImage Enlarger
nu-am-la-show-value-as-proc-of-parent-total.pngImage Enlarger

 

Hi Mynda,

thanks for the answer, but I realized that I did not express myself well 🙂
 
I just started learning from one PBI, I am new and it is harder for me now to understand the logic and combinations in PBI.

I attach a picture that better expresses what I need to see in the PBI
It's my mistake that I wrote Total Column when I was actually thinking of % of Parent Total

in the second picture I show you that I do not have the option of % Row Total, % Column Total, % of Parent Total at show value as

So you are kind and help me to find out how I can calculate% of Total Parent in PBI as I did in Pivot Table, because I don't know

sp_PlupAttachments Attachments
  • sp_PlupImage explain-photo-for-Mynda.PNG (224 KB)
  • sp_PlupImage folruma-pt-procent-din-price-cluster.PNG (41 KB)
  • sp_PlupImage graficul-pentru-share-din-price-cluster.PNG (18 KB)
  • sp_PlupImage nu-am-la-show-value-as-proc-of-parent-total.png (188 KB)
Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4449
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
4
October 8, 2019 - 9:12 pm
sp_Permalink sp_Print

Hi Alina,

Thanks for clarifying. Please see pbix file attached. You'll see it returns the same chart as you gave in your Excel file originally.

Mynda

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: andria young, RAMEZ ATTAR
Guest(s) 10
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 871
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
Jessica Stewart: 205
A.Maurizio: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Bruce Tang Nian
Scot C
Othman AL MUTAIRI
Misael Gutierrez Sr.
Attif Ihsan
Kieran Fee
Murat Hasanoglu
Brett Dryland
Saeed Aldousari
Bhuwan Devkota
Forum Stats:
Groups: 3
Forums: 24
Topics: 6222
Posts: 27293

 

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

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • 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
 

Company

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

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.