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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Multiple line charts

So how  do i generate multiple line charts based on each content of a particular table ie. when i select each row of the table automatically a line graph corresponding to the row should be generated and similarly if i select 2 rows of the table there should be 2 line charts and so on based on the number of selections made on the table . 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous 

In addition to  

Category = VALUES('Table'[Category])

Measure = 
VAR _SelectCategory = ALLSELECTED(Category[Category])
Return
IF(ISFILTERED(Category[Category]),SUMX(FILTER('Table','Table'[Category] in _SelectCategory),'Table'[Value]),BLANK())

Build a line chart and result is as below.

By default:

1.png

Select A:2.png

Select A & B:

3.png

If this reply still couldn't solve your problem, please show me your table and the result you want.

Or you can share your pbix file with me by Onedrive for Business.

You can download the pbix file from this link: Multiple line charts

 

 

Best Regards,

Rico Zhou

 

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

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous 

In addition to  

Category = VALUES('Table'[Category])

Measure = 
VAR _SelectCategory = ALLSELECTED(Category[Category])
Return
IF(ISFILTERED(Category[Category]),SUMX(FILTER('Table','Table'[Category] in _SelectCategory),'Table'[Value]),BLANK())

Build a line chart and result is as below.

By default:

1.png

Select A:2.png

Select A & B:

3.png

If this reply still couldn't solve your problem, please show me your table and the result you want.

Or you can share your pbix file with me by Onedrive for Business.

You can download the pbix file from this link: Multiple line charts

 

 

Best Regards,

Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

Anonymous
Not applicable

I tried small multiple line chart visual in the market place but it didnt give me the required result

 

amitchandak
Super User
Super User

@Anonymous , I doubt any visual like that. If you use a legend line visual and the other table can filter legend.  Each legend will create one line

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Is there any market visual that can achieve this

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors