Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
UserID2626
Partner - Creator III
Partner - Creator III

Multiple Value Check in dimension & Certain text in long string @ Set identifier qlik Sense

Hi Everyone,

I need to check a particular word (multiple words) in a long string.

Eg. My strings are

Total sale for product Asft is 34

Total sale for product A9ft is 0

Total sale for product Asorft is 3

Total sale for product QASXCD is 4

Total sale for product PMJNHY is 74

Total sale for product yhjuik is 344

Total sale for product awdsft is 3674 ...

I have to take count of Asft sale - Count({<Product={"*Asft*"}>}ID) //Working fine

Now i need to exclude 2 products(Asft,A9ft) and need to find count of other 5

Count({<Product - ={"*Asft*"}>}ID) //this will exclude only Asft

How to give multiple values in set analysis instead of writing multiple times same condition like below

Count({<Product - ={"*Asft*"}, Product  -={"*A9ft*"}>}ID)

 

Labels (4)
1 Solution

Accepted Solutions
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Try this.

Count({<Product - ={"*Asft*","*A9ft*"}>}ID)

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!

View solution in original post

1 Reply
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Try this.

Count({<Product - ={"*Asft*","*A9ft*"}>}ID)

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!