The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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!!
Solved! Go to Solution.
Hi @Rabelo
Thank you very much parry2k for your prompt reply.
Maybe this is what you need:
“Table”
"Slicer Seller"
Slicer Seller =
SELECTCOLUMNS('Table', "Seller", 'Table'[Seller])
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.
Regards,
Nono Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Fantastic !!!
Simple & Genial 😄
Tks so much dear Nono Chen 👍
@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 !
Hi @Rabelo
Thank you very much parry2k for your prompt reply.
Maybe this is what you need:
“Table”
"Slicer Seller"
Slicer Seller =
SELECTCOLUMNS('Table', "Seller", 'Table'[Seller])
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.
Regards,
Nono Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@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.