Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi folks! I'm facing something weird. I'm trying select rows a table based on a column from another table. I wrote that: Table.SelectRows(#"Colunas Renomeadas", each List.Contains(contas_fDados[Código],[Alternativa Conta]))
The function seems to work, but it never ends. I've already tried with another column and it didn't work.
Any idea?
Thanks in advance!
Solved! Go to Solution.
Hi @rber
Try adding extra step before Table.SelectRows with List.Buffer
step1 = List.Buffer( contas_fDados[Código] ),
step2 = Table.SelectRows( #"Colunas Renomeadas", each List.Contins( step1, [Alternativa Conta] ) )
Hi @rber
Try adding extra step before Table.SelectRows with List.Buffer
step1 = List.Buffer( contas_fDados[Código] ),
step2 = Table.SelectRows( #"Colunas Renomeadas", each List.Contins( step1, [Alternativa Conta] ) )
@Mariusz Great! It worked, thanks a lot. However, I'm still wondering why my method didn't work 🤔
Regards,
Hi @rber
Your method works it's just too heavy on the engine, adding list.buffer loads your list into memory so it's easier and faster to access, other than that your code remains the same.
https://docs.microsoft.com/en-us/powerquery-m/list-buffer
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |