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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Data field in line chart chose by user

Hello,

 

I am trying to create a slicer or any other way to let users to choose data field to be applied to the line chart.

 

For example I want to investigate variations over time for various attributes. Instead of creating multiple line charts for every attribute  (which will make my report very crowded) I would prefer to have one line chart and add a slicer/selection (anything) which will let users to choose which column attribute they want to see/investigate in the line chart.

 

I thought that bookmarks could be a solution, however in previous reports I had issues with bookmarks. They did not update automatically when new data were coming in and I had to go through each bookmark and choose update manually.

 

Any suggestions??

 

Thanks! 

1 ACCEPTED SOLUTION
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

Based on my test, you could refer to below steps in query editor:

1.Sample data.

A.PNG

2.Unpivot columns(except the [Item] column) and the query editor will save every operations to adapt to the updated data.

B.PNG

3.Now you could use the slicer to choose the different field.

D.PNG

You can also download the PBIX file to have a view.

https://www.dropbox.com/s/lui9tbf3gjwx60d/Data%20field%20in%20line%20chart%20chose%20by%20user.pbix?dl=0

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

Based on my test, you could refer to below steps in query editor:

1.Sample data.

A.PNG

2.Unpivot columns(except the [Item] column) and the query editor will save every operations to adapt to the updated data.

B.PNG

3.Now you could use the slicer to choose the different field.

D.PNG

You can also download the PBIX file to have a view.

https://www.dropbox.com/s/lui9tbf3gjwx60d/Data%20field%20in%20line%20chart%20chose%20by%20user.pbix?dl=0

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Many thanks Daniel,

 

This looks to work perfectly!

 

Regards,

MariosChr90

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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