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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
tbones
Helper II
Helper II

Switch x-axis time granularity between week and month possible?

I have an area chart (Power KPI 2.0.0) with y-axis and x-axis.

The y-axis is represented by the amount of customers.

The x-axis is represented by the time in weeks.

So the visual shows basically the amount of customers over the time in a running total.

 

the expected result:

is it possible to switch (using a slicer) between week and month for the x-axis?

tbones_0-1616754703765.png

 

1 ACCEPTED SOLUTION
v-janeyg-msft
Community Support
Community Support

Hi, @tbones 

 

According to your description, I think you need to build a monthly or weekly bridge table according to your own situation.

You can refer to a similar case about dynamic x-axis:Solved: Dynamic change in X Axis - Microsoft Power BI Community

 

Best Regards

Janey Guo

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-janeyg-msft
Community Support
Community Support

Hi, @tbones 

 

According to your description, I think you need to build a monthly or weekly bridge table according to your own situation.

You can refer to a similar case about dynamic x-axis:Solved: Dynamic change in X Axis - Microsoft Power BI Community

 

Best Regards

Janey Guo

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@tbones , You can do that using bookmarks and buttons

https://radacad.com/bookmarks-and-buttons-making-power-bi-charts-even-more-interactive

 

or refer

Dynamically change chart axis in Power BI
https://www.youtube.com/watch?v=6jeSIRpjv0M
https://datamonkeysite.com/2020/10/22/change-dimension-dynamically-using-parameter-in-powerbi/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

thank you @amitchandak for this ultra quick response.

 

I know both links. A short feedback to them:

- radacad link: I want to avoid bookmarks as they are adding extra efforts to maintain multiple visual and also not fitting to the design with all the other slicers. Please imaging having 7 slicers and than one button to switch the time.

Possible and indeed a solution, but if this is posisble with a slicer, I would prefer this

 

- I have checked the Power BI Elite Youtube link and I find this really clever for the cases similiar as decribed in the video.

But I am not sure how to implement this on a line or area chart using the time in my case and using the custom visual I have mentioned above. May I ask for any further advises?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Users online (3,106)