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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.