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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
AmyJessica02
Helper I
Helper I

Changing the x axis field in line graph based on a selection in your filter

Hi Everyone,

 

Looking for some help on filtering and line charts. I want the date field to change based on the selection in the filter. The data is looking at the average score of surveys completed over time. Some survey's are done daily, some weekly and some monthly. I have this info in Dim survey table. When i filter the survey, i want the line chart to change from either date, week or month. I have put an example below - 

Depending on my filter here,  This is a daily survey.

AmyJessica02_0-1653581512609.png

AmyJessica02_1-1653581531977.png

Then if i switch to a weekly survey.

AmyJessica02_3-1653581589685.png

 

Is there any way to this which is easier than lots of bookmarks or layering line charts? I can add drill downs but i would like it to default ot the correct view first.

 

Thanks,

Amy

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@AmyJessica02 , Field Parameters released in May 2022 can help

Field Parameters- One solution for Measure Dimension slicer: https://youtu.be/lqF3Wa1FllE?t=70

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@AmyJessica02 , Field Parameters released in May 2022 can help

Field Parameters- One solution for Measure Dimension slicer: https://youtu.be/lqF3Wa1FllE?t=70

Thanks Amit, i think this is my best option, very easy too.

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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