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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Including additional plot on line graph using a slicer

Hi

I have a table which looks like

 

Value       Name

0.1            A

0.25          B

0.3            A

0.5            A

0.4            B

0.1            C

0.2            C

0.3            A

 

I would like to be able to plot a graph that filters the data using a slicer. I.e If A is selected plot only A, if A and B are selected show two lines etc

Cheers

 

2 ACCEPTED SOLUTIONS
rajulshah
Resident Rockstar
Resident Rockstar

Hello @Anonymous,

 

You just need to add slicer having 'Name' field and use that field in the graph. It will work as you expected.

View solution in original post

Hello @Anonymous,

I am able to achieve this on the basis of your sample data.
Please use Line Chart > use Axis - Time, Legend - Name and Values - Value.

And then use 'Name' in slicer.

TimeSlicer.png

 

Let me know if this didn't work.

View solution in original post

4 REPLIES 4
rajulshah
Resident Rockstar
Resident Rockstar

Hello @Anonymous,

 

You just need to add slicer having 'Name' field and use that field in the graph. It will work as you expected.

Anonymous
Not applicable

Sorry I forgot to add that there is a column with time in it, and I am plotting a time vs value. When I add the slicer it just aggregates these values together, it doesnt add a seperate line

 

Time     Value       Name

1            0.1            A

2            0.25          B

3            0.3            A

4            0.5            A

5            0.4            B

6            0.1            C

7            0.2            C

8            0.3            A

Hello @Anonymous,

I am able to achieve this on the basis of your sample data.
Please use Line Chart > use Axis - Time, Legend - Name and Values - Value.

And then use 'Name' in slicer.

TimeSlicer.png

 

Let me know if this didn't work.

Anonymous
Not applicable

Ah yes, that works great. Thanks a lot

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

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.