Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Karim_Khan
Creator III
Creator III

Selection criteria

Hi Team,

   I wanted to do calculation for finding bookings.

Which will be like

SUM([Sales Level2/[Sales Level1])

Its a dynamic value.Pls suggest

Whenever I click on Sales Level 1 and Sales Level 2 then it should give the calculation.

Regards,

KK

jagangwassenaarMRKachhiaIMPashfaq_haseebKush141087

KK
15 Replies
Karim_Khan
Creator III
Creator III
Author

Hi Kush,

   pls jst explain me

=Concat(DISTINCT chr(39)&  [Sales Level 1]& chr(39),',')

how above expression works

KK
Kushal_Chawda

I have used the concat function to associate the possible Field values or selected Field values, So that I can pass this values in Set Expression

Like when you do set analysis ,you need to write  Field ={'1','2'....}

But we need to associate all values in single quotes which is done using chr(39)

Karim_Khan
Creator III
Creator III
Author

so chr(39) is a in built function or what?

KK
Kushal_Chawda

Yes,it is inbuilt

Karim_Khan
Creator III
Creator III
Author

ok Got it Tnx yaar

KK
Kushal_Chawda

welcome bro