
Fred Jones
Active Member
Members

Forum Posts: 3
Member Since:
June 7, 2018
June 7, 2018

Hello
I am very new to Power Query so please bear with me. Can someone help with a basic question?
I have used the Power Query editor to filter a column. It shows:
#"Filter CLASS"= Table.SelectRows(#"Uppercase CLASS", each ([#"CLASS"] = "Chemistry" or [#"CLASS"] = "Physics")
I would like to simplify this code as the actual filter expression will have many identifiers. I have tried the following (plus many variations) but they have not worked:
#"Filter CLASS"= Table.SelectRows(#"Uppercase CLASS", each List.Contains({"Chemistry","Physics"},[#"CLASS"]))
What is the correct syntax?
Thanks
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Misael Gutierrez Sr.
Guest(s) 10
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 873
Purfleet: 414
Frans Visser: 346
David_Ng: 306
lea cohen: 222
Jessica Stewart: 218
A.Maurizio: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Cathi Giard
Sarah Young
Henry Delgado
Alita Nieuwoudt
KL KOH
Joao Marques
Regi Hampton
Taffie Elliott
Paramita Chakraborty
David du Toit
Forum Stats:
Groups: 3
Forums: 24
Topics: 6358
Posts: 27805
Member Stats:
Guest Posters: 49
Members: 32335
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —
