This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hello there,
The business problem is that I download a table from shopify where I have the order with all the items that are in that order. The problem is that orders that has (in this case) the Product 'bbbb' need to be handle different with all the products in that order.
In this case this the comple table
And this is the table that I need at the end where only order 1 and 4 has product 'bbbb'
I tried with data nesting and some filters but to be honest I am not very good with powerquery and M lenguage. My plan B is Macros or Array formulas in Excel but I prefer to learn something new with power query.
Solved! Go to Solution.
Hello, @luigiPulido_
let
Source = your_table,
orders = Table.SelectRows(Source, (x) => x[Product] = "bbbb")[Order],
z = Table.SelectRows(Source, (x) => List.Contains(orders, x[Order]))
in
z
Hi @luigiPulido_ were you able to find a solution? As a workaround, maybe you can try to test your connection with a 3rd party connector. I've tried windsor.ai, supemetrics and funnel.io. I stayed with windsor because it is much cheaper so just to let you know other options. In case you wonder, to make the connection first search for the Shopify connector in the data sources list:
After that, you need to follow instructions and install the windsor.ai app from the Shopify App Store:
then on preview and destination page you will see a preview of your Shopify fields
There just select the fields you need. Finally, just select PBI as your data destination and finally just copy and paste the url on PBI --> Get Data --> Web --> Paste the url.
Hello, @luigiPulido_
let
Source = your_table,
orders = Table.SelectRows(Source, (x) => x[Product] = "bbbb")[Order],
z = Table.SelectRows(Source, (x) => List.Contains(orders, x[Order]))
in
z
Yes, thats exactly what I was looking for. Thanks, I just need to understand whats going on LOL
@luigiPulido_ well, first Table.SelectRows gives you all rows that contain "bbbb" in Product column. Little touch of [Order] after closing bracket gives us a list of order numbers in that table. You may clearly see this list in PQ editor. Then (step z) we filter original tables' orders column. That is all about Table.SelectRows, columns as lists of items, working with lists functions etc.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |