Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
I have 2 tables
d:
up:
in d Table
1) Split by comma and get list : Text.Split([d], ",")
2) Join whole 'up' Table at each row : each up
3) Filter up[up] column to each item inside list :
let
l = [d1]
in
Table.SelectRows([tab1], each (List.Contains(l, [up])))
but my M code filter only single/first item of list to column
I want all the items of list to filter up[up] column whichever are present.
Insert this step (modify Source appropriately)
= [a = List.Combine(List.Transform(d[d], each Text.Split(_, ", "))),
b = Table.SelectRows(Source, each List.Contains(a, [up]))][b]
I'm sorry but I can't comprehend your code, and It throws error when I applied it.
Can you please give me code more explicitly 🙏🏽
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 5 | |
| 5 | |
| 4 |