• 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

Unpivot won't allow to make changes in one Category|Power Query|Excel Forum|My Online Training Hub

You are here: Home / Unpivot won't allow to make changes in one Category|Power Query|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 ForumPower QueryUnpivot won't allow to make changes…
sp_PrintTopic sp_TopicIcon
Unpivot won't allow to make changes in one Category
Avatar
P B
Member
Members
Level 0
Forum Posts: 38
Member Since:
March 8, 2021
sp_UserOfflineSmall Offline
1
April 23, 2021 - 8:30 am
sp_Permalink sp_Print

Hello Mynda,

 

I unpivoted my data. Please look at the screenshot.  Let us imagine that these are not months and they are some categories and if Month July is Fruit Category and I want to see it in %. How do I do that in my Pivot Table? Right now any changes I make in this Pivot table affect all the Months. I just want to make changes to July Month/ Fruit Category. I don't want to touch any other Months/Categories. Only one Category should show values in Percentage. Can you please give me the steps on how do I show values in % in the Month July/Fruit Category?

 

I attached the file also. First I had put only a screenshot.

Thanks

PB

UnpivotPractice_2021-04-22_18-16-57.pngImage Enlarger

sp_PlupAttachments Attachments
  • sp_PlupImage UnpivotPractice_2021-04-22_18-16-57.png (102 KB)
Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4448
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
2
April 23, 2021 - 10:45 am
sp_Permalink sp_Print

Hi PB,

That can't be done, sorry. PivotTables don't work that way. They are designed to apply the same calculation to all items in a field. You can't pick and choose. That would need to be done with a table built with formulas.

Mynda

Avatar
P B
Member
Members
Level 0
Forum Posts: 38
Member Since:
March 8, 2021
sp_UserOfflineSmall Offline
3
April 23, 2021 - 11:28 am
sp_Permalink sp_Print

Hello Mynda,

 

Thank you! If I don't unpivot these fields then I can make changes to any Category. The only difference is then I can't choose those categories individually from a filter. Let us say that they are Fruits, Vegetables, Meat and so on. They will be in different columns. I can make changes to Fruits or Vegetables or Meat in any field. After unpivoting, it is not helping me in any way in my opinion. 

 

It is good to know that it is not possible after unpivoting. I wasted a couple of hours trying to figure it out. 

 

Thanks,

PB

Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4448
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
4
April 23, 2021 - 3:37 pm
sp_Permalink sp_Print

Hi PB,

With your data unpivoted you're not really creating a PivotTable, which is why you can make changes to any category (because each one is it's own field) but you can't use the filters, because the data is already pivoted.

Mynda

Avatar
P B
Member
Members
Level 0
Forum Posts: 38
Member Since:
March 8, 2021
sp_UserOfflineSmall Offline
5
April 24, 2021 - 2:06 am
sp_Permalink sp_Print

Hello Mynda,

 

Thanks! I decided to try it without unpivoting and now the problem I am seeing is that where there are 0.00% together for 2 Columns in my Chart then they appear so tight which does not look nice. How do I show 0.00 % but they should not fall over each other. Maybe one shows a little higher than the other or any other suggestion, please? 

 

Thanks,

PB

OverEachOther_2021-04-23_11-58-02.pngImage Enlarger

sp_PlupAttachments Attachments
  • sp_PlupImage OverEachOther_2021-04-23_11-58-02.png (2 KB)
Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4448
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
6
April 24, 2021 - 9:03 am
sp_Permalink sp_Print

You could try increasing the gap width and reducing the font size. It looks like the labels might also be bold, if so I'd remove that too.

Avatar
P B
Member
Members
Level 0
Forum Posts: 38
Member Since:
March 8, 2021
sp_UserOfflineSmall Offline
7
April 24, 2021 - 10:52 am
sp_Permalink sp_Print

Hello Mynda,

 

Thanks! I tried Gap Width and this was the best I could get. With a smaller size, you won't be able to even read it. These little details take so much of my time. How do I show a message like 'Nothing to Show" if the percentage is 0.00% or NaN/blank then don't show that customer in the chart? Any other suggestions, please?

I didn't unpivot my tables as I was not able to change values for one Column (Which became a row only) I used OffSet and Match Functions to get the results that I need except these 0.00% falling over each other in my chart.

 

Thanks,

PB

Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4448
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
8
April 24, 2021 - 9:52 pm
sp_Permalink sp_Print

If you're using regular charts, i.e. not Pivot Charts, you can use this Max trick to set the chart labels at specific heights. 

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Ngoc Tinh
Guest(s) 11
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
michael serna
mashal sana
Tiffany Kang
Leah Gillmore
Sopi Yuniarti
LAFONSO HERNANDEZ
Hayden Hao
Angela chen
Sean Moore
John Chisholm
Forum Stats:
Groups: 3
Forums: 24
Topics: 6215
Posts: 27248

 

Member Stats:
Guest Posters: 49
Members: 31897
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.