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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
XintongLi
New Member

Question about Multi-Select Filter

Hi Power BI developers,

 

I am creating a line chart, the aim is to visualize the average score for fleets. 

 

I want to have the ability to multi select 2 or more fleets and see the comparision between them. i.e. when I select 2 fleets, I want the chart to have 2 lines showing up so I can see the comparison between the 2 fleets.

 

My question here is not that I don't know how to multi select, I know I can use ctrl+click to select multiple values from the filter, my question here is that, when I multi-select 2 fleets, there is still only one line showing up on the line chart, and I think the reason should be because in the Y-axis value of the graph, I only put one value into it which is the DAX to calculate the overall average score.

 

I think one potential solution is that I create DAX measures to calculate the average score for each fleet, and I put all these measures into the Y-axis of the line chart. But the problem is, I have around 70 fleets, is this really a good idea? Will this take too much storage and affect the performance of my power bi report? Do you have any better suggestions to solve this question? Thank you so much!

 

Below is the line chart and fleet slicer I am talking about:

 

XintongLi_1-1704401656595.png

 

 

Below is the Y-axis value that I currently put in this line chart:

XintongLi_2-1704401714683.png

 

 

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Put the Fleet field into the Legend area of the visual

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

Put the Fleet field into the Legend area of the visual

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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