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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
Anonymous
Not applicable

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

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

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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