Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
bobbydave
Creator III
Creator III

Where exists/match/wildmatch????

I have a table.

I only want to load 4 countries coz the required data is only in these 4 countries.

Countries:

Code as %Country,

Code,

Country as CountryName

Country

from

Country.xlsx

where match (Code, 'GR', 'TR', UK', FR')

but it still loads all countries.

Any ideas? I know it has to be my Where clause

1 Solution

Accepted Solutions
Anil_Babu_Samineni

Countries:

Code as %Country,

Code,

Country as CountryName

Country

from

Country.xlsx

where wildmatch(Country, 'GR', 'TR', UK', FR')

Can you please post sample.

If you want this in Charts please use Set Alalysis

Like

Sum({<Country = {'GR', 'TR', UK', FR'}>}Sales)

OR

Sum({<Code = {'GR', 'TR', UK', FR'}>}Sales)

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

View solution in original post

4 Replies
kumarkp412
Creator II
Creator II

Hi David ,

The above where match condition   should give result as expected.

Can you please provide the sample script.

Thanks

Kumar KVP

Anil_Babu_Samineni

Countries:

Code as %Country,

Code,

Country as CountryName

Country

from

Country.xlsx

where wildmatch(Country, 'GR', 'TR', UK', FR')

Can you please post sample.

If you want this in Charts please use Set Alalysis

Like

Sum({<Country = {'GR', 'TR', UK', FR'}>}Sales)

OR

Sum({<Code = {'GR', 'TR', UK', FR'}>}Sales)

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
bobbydave
Creator III
Creator III
Author

where wildmatch(Country, 'GR', 'TR', UK', FR')

That gave me the desired result.

Thanks

Anil_Babu_Samineni

Glad to Hear, Close this Thread.

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