Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
ColtE8
Contributor III
Contributor III

Loading Multiple Selections From One Column

Hello!

I am trying to load multiple selections from one column. Essentially, I had this to begin with:

FROM [lib://AttachedFiles/Report.xlsx]
(ooxml, embedded labels, table is Exporter)
Where "Organization"='Organization A';

This removed all other organizations from the pull that I didn't want, but now I need to add one more.

I was then trying to do this:

FROM [lib://AttachedFiles/Report.xlsx]
(ooxml, embedded labels, table is Exporter)
Where "Organization"='Organization A' and "Organization"='Organization B';

The second attempt returned 0 lines and didn't work. How do I go about fixing this to where it will load the two organizations I need instead of having to go into the excel file every time I pull the initial report and removing all other orgs that I don't want.

Thanks,

Colton Esman
https://www.linkedin.com/in/colton-esman/
Labels (5)
1 Solution

Accepted Solutions
vincent_ardiet_
Specialist
Specialist

You should use an OR, both conditions cannot be true at the same time:
"Organization"='Organization A' OR "Organization"='Organization B'

The other solution is to use a Match function:
Match("Organization",'Organization A','Organization B')>0

View solution in original post

2 Replies
vincent_ardiet_
Specialist
Specialist

You should use an OR, both conditions cannot be true at the same time:
"Organization"='Organization A' OR "Organization"='Organization B'

The other solution is to use a Match function:
Match("Organization",'Organization A','Organization B')>0

Anil_Babu_Samineni

If one condition works, Maybe you can try this

Where Match("Organization", 'Organization A' ,'Organization B');

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful