+ Reply to Thread
Results 1 to 2 of 2

Slicers and bar charts

  1. #1
    Registered User
    Join Date
    07-21-2021
    Location
    United States
    MS-Off Ver
    2016
    Posts
    21

    Slicers and bar charts

    Hello.
    I have a report that shows data by date. I created a month slicer and a year slicer. Is there a way to change the chart to only show yearly info and then when I choose a month only show month to month? When I choose years it shows the month as well on the bar chart. I guess I am trying to see if I can make the bar chart change from a month to month to a year over year by slicer selection.

    Thank you
    Lisa

  2. #2
    Registered User
    Join Date
    01-30-2023
    Location
    Pakistan
    MS-Off Ver
    2016
    Posts
    2

    Re: Slicers and bar charts

    Yes, you can dynamically change the chart between month-to-month and year-over-year views by using the slicers and conditional formatting in the chart data. Here are the steps to accomplish this:

    Create a calculated field that returns the year of each date in the data set.
    Create a calculated field that returns the month of each date in the data set.
    Use the year and month calculated fields in the chart data, and conditional format the chart based on the selections in the year and month slicers.
    Update the chart type and formatting as necessary to show the data in the desired format.
    This approach requires some knowledge of calculated fields, conditional formatting, and chart design, but it will allow you to achieve the desired behavior.

+ 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. Replies: 0
    Last Post: 05-26-2021, 06:42 PM
  2. Charts Changing Color When Using Slicers
    By kalvinswisher in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 07-30-2020, 11:46 AM
  3. Replies: 2
    Last Post: 09-17-2018, 10:24 AM
  4. Slicers - how to update one slicer for all charts?
    By kreinking in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 09-06-2016, 03:35 PM
  5. Replies: 2
    Last Post: 07-12-2016, 08:58 PM
  6. [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
  7. RESOLVED: Working with Slicers - Pivot charts
    By uimhirADo in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 08-29-2013, 04:13 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