Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
Hi Guys, how is everything?
I need some help here please. I need to filter a column in a table, long one actually (the first image is a sample of it), to keep only the mentioned names in a column in another table (the second image), to reach the outcome illustrated in the final image (the third image), how could I do that?
I think this is reachable thru the "List" concept but I am not pretty sure about the needed script to write, could you help please?
Solved! Go to Solution.
On your first table, in the formula bar, type:
= Table.SelectRows(Source, each List.Contains(List.Distinct(Table2[Name]), [Name]))
--Nate
On your first table, in the formula bar, type:
= Table.SelectRows(Source, each List.Contains(List.Distinct(Table2[Name]), [Name]))
--Nate
I'm sorry for the bothering again.
I've tried to play with the given script a bit and I've applied this:
= Table.SelectRows(#"Changed Type", each List.Contains(List.Distinct(#"Removed Other Columns2"), [Agent]))
Simply, I'm trying to filter a query table using the same query table at different step, isn't this techinically allowed logically speaking? Yet, I'm getting this error:
Expression.Error: We cannot convert a value of type Table to type List.
Details:
Value=[Table]
Type=[Type]
That was quick, thanks a million
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 |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 6 | |
| 6 | |
| 5 |