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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Igotzepowerbi
Frequent Visitor

Need a Dynamic X-Axis

In PowerBI I have a line chart with Month and Grouping (Grouping is Monday-Wednesday, Thursday-Friday and weekend) in the Y-axis I have a measure "AVG = CALCULATE(AVERAGE(ProPlusUsageUserCounts[Count]))" I am wanting a toggle that will update my x-axis between Grouping and Day of Week Name. Can someone help me please?

Igotzepowerbi_0-1690907940125.png

Igotzepowerbi_0-1690908707055.png

 

 

2 REPLIES 2
Idrissshatila
Super User
Super User

Hello @Igotzepowerbi ,

 

yes as said , you could do that using field parameters.

 

learn more about field parameters https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




datawailor
Advocate II
Advocate II

Simply create a felds parameter, with the Day of week and Week Name in your selections, and then crate a chart place the parameter where you'd normally put your date field and it shouldchang the grain of the chart based on your selection.

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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