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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
RedLectroid
Regular Visitor

Dynamically change xaxis time interval

Hello wise people, relative PBI beginner here.

 

I've set a MTD/QTD/YTD slicer to drive all my data in various tables on the page per this method:

https://community.fabric.microsoft.com/t5/Desktop/Slicer-MTD-QTD-YTD-to-filter-dates-using-the-slice...

 

Trying to now apply that slicer time interval to xaxis of a line chart on the page, i.e. xaxis shows 1 month, 3 months or YTD range depending on slicer selection. Feel like I'm almost there but can't get it. Can I somehow use the same "switch measure" method as for my tables, or do I need to maybe use parameters? Thanks for any help.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@RedLectroid ,Not very clear

 

You can use field parameters or an independent table approach

Power BI Field Parameters — A Quick way for Dynamic Visuals: https://amitchandak.medium.com/power-bi-field-parameters-a-quick-way-for-dynamic-visuals-fc4095ae9af...
Power BI Field Parameters- Measure Slicer and Axis/Dimension slicer: https://youtu.be/lqF3Wa1FllE
Switch TOPN with Field Parameters: https://amitchandak.medium.com/switch-topn-with-field-parameters-299a0ae3725f

 

Need of an Independent Date Table:https://www.youtube.com/watch?v=44fGGmg9fHI

 

The information you have provided is not making the problem clear to me. Can you please explain with an example.

Appreciate your Kudos.

 

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

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@RedLectroid ,Not very clear

 

You can use field parameters or an independent table approach

Power BI Field Parameters — A Quick way for Dynamic Visuals: https://amitchandak.medium.com/power-bi-field-parameters-a-quick-way-for-dynamic-visuals-fc4095ae9af...
Power BI Field Parameters- Measure Slicer and Axis/Dimension slicer: https://youtu.be/lqF3Wa1FllE
Switch TOPN with Field Parameters: https://amitchandak.medium.com/switch-topn-with-field-parameters-299a0ae3725f

 

Need of an Independent Date Table:https://www.youtube.com/watch?v=44fGGmg9fHI

 

The information you have provided is not making the problem clear to me. Can you please explain with an example.

Appreciate your Kudos.

 

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

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors