Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
So I know what with the following script I could remove from "Cost Center" column all the value that are "aaaa", "bbbb" or "cccc" but what about if I had to remove more values like 50 that I already have set in a list in power query o maybe a column from another data set..
I could not find the proper script
Table.SelectRows(#"", each ([Cost Center] <> "aaaa" and [Cost Center] <> "bbbb" and [Cost Center] <> "cccc"))
Solved! Go to Solution.
You could use List.Contains.
each not List.Contains(ListOfValues,[Cost Center])
where ListOfValues can reference an existing Table[Column] or List.
You could use List.Contains.
each not List.Contains(ListOfValues,[Cost Center])
where ListOfValues can reference an existing Table[Column] or List.
Hi, How should I write the name of the column that is a different table? and whow should I write it if there was a list?
User | Count |
---|---|
117 | |
73 | |
58 | |
49 | |
48 |
User | Count |
---|---|
171 | |
122 | |
60 | |
59 | |
56 |