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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Rabelo
Frequent Visitor

Showing individual graphic lines, for each data selected on filter

Hi guys!

Looking for an answer ... a challenge: is it possible to create a Line Graphic that shows a diferent line with the values of a MEASURE, for each diferent data selected on external filter ?

 

For example: a table with 20 sellers and 2 of them selected on external filter: the graphic would create 2 individual lines, showing the sells of each seller selected ... or 3 lines if 3 sellers selected .... and so on.

 

Is that possible ?

Best Regards!!

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Rabelo 

 

Thank you very much parry2k for your prompt reply.

 

Maybe this is what you need:

 

“Table”

vnuocmsft_0-1726560329502.png

 

"Slicer Seller"

Slicer Seller = 
SELECTCOLUMNS('Table', "Seller", 'Table'[Seller])

 

vnuocmsft_1-1726560366138.png

 

Create a measure.

 

Measure = 
IF(
    ISFILTERED('Slicer Seller'[Seller]),
    CALCULATE(
        SUM('Table'[Sales Amount]),
        FILTER(
            'Table',
            'Table'[Seller] IN VALUES('Slicer Seller'[Seller])
        )
    ),
    BLANK()
)

 

Here is the result.

 

vnuocmsft_2-1726560468047.png

 

Regards,

Nono Chen

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

5 REPLIES 5
Rabelo
Frequent Visitor

Fantastic !!!

 

Simple & Genial 😄

Tks so much dear Nono Chen 👍

parry2k
Super User
Super User

@Anonymous I don't understand why you would reply to the post while I'm waiting on the OP, and how your solution is different than what I suggested. Please refrain from answering until OP answers the question. 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Thks so much for your fast answer and tip !

Anonymous
Not applicable

Hi @Rabelo 

 

Thank you very much parry2k for your prompt reply.

 

Maybe this is what you need:

 

“Table”

vnuocmsft_0-1726560329502.png

 

"Slicer Seller"

Slicer Seller = 
SELECTCOLUMNS('Table', "Seller", 'Table'[Seller])

 

vnuocmsft_1-1726560366138.png

 

Create a measure.

 

Measure = 
IF(
    ISFILTERED('Slicer Seller'[Seller]),
    CALCULATE(
        SUM('Table'[Sales Amount]),
        FILTER(
            'Table',
            'Table'[Seller] IN VALUES('Slicer Seller'[Seller])
        )
    ),
    BLANK()
)

 

Here is the result.

 

vnuocmsft_2-1726560468047.png

 

Regards,

Nono Chen

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

parry2k
Super User
Super User

@Rabelo If I understood it correctly, you can easily achieve this by putting the seller on the legend.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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 Solution Authors