Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
parthrvyas11
New Member

Automatically Change Stacked Column Chart from Years to Months Based on Slicer Selection

Hi all, sorry for the long title. I have three stacked column charts in my dashboard and I want it to display yearly data by default but when I select a certain time frame (say 1/1/24 to 12/31/24) I want the visual to automatically change to months. Anyone know how to accomplish this? Screenshots below:

 

parthrvyas11_0-1744321110472.pngparthrvyas11_1-1744321156951.png

 

1 ACCEPTED SOLUTION
v-sathmakuri
Community Support
Community Support

Hi @parthrvyas11 ,

 

Thank you for reaching out to Microsoft Fabric Community.

Thank you @lbendlin for prompt response.

 

1.Create Two Charts

  • One with Year on the axis
  • One with Month/Year Month on the axis

2. Use the Selection + Bookmarks Pane to toggle visibility automatically.

 

If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! 

 

Thanks & Regards,

Rekha,

CustomerSupportTeam.

View solution in original post

5 REPLIES 5
v-sathmakuri
Community Support
Community Support

Hi @parthrvyas11 ,

 

I hope this information proves helpful. Feel free to reach out if you have any further questions or would like to discuss this in more detail. If responses provided answers your question, please accept it as a solution so other community members with similar problems can find a solution faster.

 

Thank you.

v-sathmakuri
Community Support
Community Support

Hi @parthrvyas11 ,

 

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.

 

Thank you.

v-sathmakuri
Community Support
Community Support

Hi @parthrvyas11 ,

 

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

 

Thank you.

 

v-sathmakuri
Community Support
Community Support

Hi @parthrvyas11 ,

 

Thank you for reaching out to Microsoft Fabric Community.

Thank you @lbendlin for prompt response.

 

1.Create Two Charts

  • One with Year on the axis
  • One with Month/Year Month on the axis

2. Use the Selection + Bookmarks Pane to toggle visibility automatically.

 

If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! 

 

Thanks & Regards,

Rekha,

CustomerSupportTeam.

lbendlin
Super User
Super User

Put the Date column of your calendar dimension in the X axis and let the visual do the rest.

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

Check out the April 2025 Power BI update to learn about new features.

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.