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.
I have a table with a lot of articles connected to an order and also a Location, I want to find orders that contains article from more than one location, see sample below
Order number | Article | Location |
12345 | A | X |
12345 | B | X |
12345 | C | Y |
23456 | C | Y |
34567 | A | X |
34567 | B | X |
34567 | D | X |
What I want to achive:
Ordernumber | Multiple locations |
12345 | Yes |
23456 | No |
34567 | No |
What is the easiest way to do this in Power BI?
Solved! Go to Solution.
@Anonymous add following measure
Multiple Lcoations =
IF ( CALCULATE ( DISTINCTCOUNT( Orders[Location] ), ALLEXCEPT ( Orders, Orders[Order number] ) ) > 1, "Yes", "No" )
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.
@Anonymous add following measure
Multiple Lcoations =
IF ( CALCULATE ( DISTINCTCOUNT( Orders[Location] ), ALLEXCEPT ( Orders, Orders[Order number] ) ) > 1, "Yes", "No" )
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.