+ Reply to Thread
Results 1 to 7 of 7

Bar color resets when using slicer and restarting excel

  1. #1
    Registered User
    Join Date
    05-27-2020
    Location
    SG
    MS-Off Ver
    365
    Posts
    9

    Wink Bar color resets when using slicer and restarting excel

    Hi All,

    Please see attached spreadsheet.

    I have a pivot pie chart chart with 2 categories and a slicer.

    In the overview of the pie chart, Category 1 is in blue and Category 2 is in orange color.
    However, when i use the slicer (Category) to filter to Category 2 (alone), the pie of Category 2 is shown as blue instead of orange. I thought this was weird so i recolored the pie again:
    1) colored Category 2 pie to Orange using format/shape fill at top menu AND using the data point side panel (just to be safe)
    2) I cleared the filter on the slicer, filtered again to Category 2 and it worked - the Category 2 pie was in Orange

    However, when i restart my workbook, used the slicer to filter to category 2, the Category 2 pie turned back to Blue.

    Please can i seek your advice on this issue? How can i maintain the color format for Category 2?

    Thank you!
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2016
    Posts
    897

    Re: Bar color resets when using slicer and restarting excel

    Hi cswshaun,

    I though I was on the right track, but no.
    There is however a good article explaining the issue and offering a couple of 'work-arounds'.

    https://peltiertech.com/pivot-chart-formatting-changes/
    Attached Files Attached Files
    Last edited by ORoos; 05-27-2020 at 08:35 AM. Reason: Incorrect solution

  3. #3
    Registered User
    Join Date
    05-27-2020
    Location
    SG
    MS-Off Ver
    365
    Posts
    9

    Re: Bar color resets when using slicer and restarting excel

    Hi ORoos,

    Appreciate the reply. I have tested your workbook but when i use the slicer to filter category 1 and 2, the pies are shown as blue (both same color).

    Not sure if you have the same problem too?

    Thanks

  4. #4
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2016
    Posts
    897

    Re: Bar color resets when using slicer and restarting excel

    Yep, just edited my reply... problem persists, but added a link to a page with some work-around.

  5. #5
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2016
    Posts
    897

    Re: Bar color resets when using slicer and restarting excel

    Second try....
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    05-27-2020
    Location
    SG
    MS-Off Ver
    365
    Posts
    9

    Re: Bar color resets when using slicer and restarting excel

    hi Oroos, its working in your spreadsheet may i know how you manage to get this to work? thanks!

  7. #7
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2016
    Posts
    897

    Re: Bar color resets when using slicer and restarting excel

    Select the first segment of the pie 'Data Series' in your pivot chart. Right click and select Format Data Series (don't use the paintbrush icon on the right of the chart).
    Select the colour option (paint bucket), and select solid fill (or other if you want), but NOT 'automatic'. Set the colours you want.
    Un-tick Vary colors by slice (we set them manually with different colours).
    Repeat for the second segment 'Data Point' and set different colour.
    Save the file. Test.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Slicer, filtering by color from conditional formatting
    By wasntme in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 07-07-2022, 01:00 AM
  2. Excel Prevents Restarting/Shut down
    By chhiew in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-28-2020, 04:04 AM
  3. Loop through slicer, while also selecting single slicer value on separate slicer
    By as_sass in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-30-2018, 01:41 PM
  4. Replies: 1
    Last Post: 04-23-2018, 09:43 AM
  5. Slicer cells to have color dynamically based on another field
    By yasar2002 in forum Excel Charting & Pivots
    Replies: 10
    Last Post: 11-15-2016, 02:25 AM
  6. [SOLVED] Code doesn't work after closing and restarting Excel
    By ronaldemm in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-09-2016, 05:19 PM
  7. Missing Tabs On Ribbon After Restarting Excel
    By brent_milne in forum Excel General
    Replies: 0
    Last Post: 07-22-2015, 03:58 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1