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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

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