+ Reply to Thread
Results 1 to 8 of 8

Dashboard: Slicers can only use 1 number format

  1. #1
    Registered User
    Join Date
    12-08-2010
    Location
    Philippines
    MS-Off Ver
    Office 365
    Posts
    76

    Smile Dashboard: Slicers can only use 1 number format

    I am trying to create a dashboard for the stats of my agents. I have total of 5 stats and they are all in different number format. Decimal, time, and percentage. I did some research and I was aware that you cannot add column slicers only row so I unpivot my raw data using power query. So all of 5 stats are just in one column in different rows. This enabled me to make a slicers for all 5 stats.

    I tried to classify the unpivoted raw data depending on their number format. That one seem to work but I can't connect 1 slicers for the month and employee name they must have one data source.


    In Decimal Number Format:
    Present
    Score
    Sales

    In Duration Number Format:
    Prod Time

    Percentage Number Format:
    QA

    Problem:
    1. When I build a pivot table and change the format, all stats have the same number format.

    Goal:
    Have 3 slicers. Employee Name, Month, Stats
    Have 1 chart that would dynamically changed based on the slicers
    Have 5 stats that have different number format (Decimal, Percentage, Time)

    Is this possible without VBA?
    Attached Files Attached Files

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Dashboard: Slicers can only use 1 number format

    You will need VBA to change the axis values on the chart. However, there is an alternative design where you do not have to unpivot the raw data. You can use a regular pivot table, and named dynamic ranges to control the charts.

    Are you interested and are you willing to accept a VBA solution to the display issue?
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Dashboard: Slicers can only use 1 number format

    I just noticed that you are using Excel 2003 - all bets are off.

  4. #4
    Registered User
    Join Date
    12-08-2010
    Location
    Philippines
    MS-Off Ver
    Office 365
    Posts
    76

    Re: Dashboard: Slicers can only use 1 number format

    Quote Originally Posted by dflak View Post
    You will need VBA to change the axis values on the chart. However, there is an alternative design where you do not have to unpivot the raw data. You can use a regular pivot table, and named dynamic ranges to control the charts.

    Are you interested and are you willing to accept a VBA solution to the display issue?
    Sure thing but how about the slicers?

  5. #5
    Registered User
    Join Date
    12-08-2010
    Location
    Philippines
    MS-Off Ver
    Office 365
    Posts
    76

    Re: Dashboard: Slicers can only use 1 number format

    Quote Originally Posted by dflak View Post
    I just noticed that you are using Excel 2003 - all bets are off.
    I am using office 365

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: Dashboard: Slicers can only use 1 number format

    Then please update your user profile to reflect this. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  7. #7
    Registered User
    Join Date
    12-08-2010
    Location
    Philippines
    MS-Off Ver
    Office 365
    Posts
    76

    Re: Dashboard: Slicers can only use 1 number format

    Quote Originally Posted by AliGW View Post
    Then please update your user profile to reflect this. Thanks.
    edited. Thanks!

  8. #8
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Dashboard: Slicers can only use 1 number format

    I did a slight bit of re-arranging to the format.

    I added a tab called Formats. It has a table called Table_Formats where you define the metric (attribute) you want to track and the format for the chart. Cells D1 and D2 are "helper cells" and are used to store the selected metric and the format in which to plot it. This sheet can be hidden after you set up the formats.

    On the trends sheet, I did away with the slicer for the Attribute. You only want to select on attribute at a time, so I replaced the slicer with a simple data validation that gets its values from Table_Formats.

    In the pivot table that is the source for the chart, I moved Attributes from a row header to a report filter.

    When you use the drop down list, in Cell R8 on the Trends Sheet, it executes a change macro that sets the filter on the source pivot chart to the selected value, and looks up the format to apply to the chart from Table_Formats and applies it.
    Attached Files Attached Files

+ 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. Interactive Dashboard w/ slicers
    By Brapp2Smokin in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 07-14-2018, 10:24 AM
  2. Dashboard - Slicers
    By doggfather in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 07-05-2018, 01:49 PM
  3. Dashboard with slicers
    By clairh2011 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 05-17-2017, 11:15 AM
  4. Connecting slicers from different data sets using table format (not by creating pivot)
    By karthikgmk in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-17-2016, 12:36 PM
  5. [SOLVED] Disconnect Slicers, Change Pivot Table Source, Reconnect Slicers: a problem
    By Geoff. in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-30-2015, 02:27 PM
  6. Web-Based excel slicers dashboard anywhere on the web?
    By jstanley41 in forum Excel General
    Replies: 1
    Last Post: 05-04-2015, 01:33 AM

Tags for this Thread

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