Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
kumarleau
Contributor
Contributor

Need to undersatnd the qlik formula

Hi All,

 

I am new to Qlik. I would like to understand stand below formula


Formula1:   num(count(distinct{<[Usage] = {">=1"}>}[ID: Conversation])))

Formula2: num(count(distinct{<[Usage] = {"1"}>}[ID: Conversation]))

 

Usage column Usage which is a varchar data type have data like below

1

2

3

4

complete

progress

 

But using the above 2 formula's I need to calculate as Formula/Formula2.

SO my question is can we get >1 result from varchar column

 

Regards,

Kumar

 

 

Labels (1)
2 Replies
Brett_Bleess
Former Employee
Former Employee

The best thing for starters would be the following links, they should provide assistance:

https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344

https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/ChartFunctions/...

I am assuming the set analysis is the part that is confusing, hopefully I got that correct and hopefully the links will help get you on the right track as far as what the setup of the set analysis is doing in the expression.

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.
Kushal_Chawda

@kumarleau  Yes. You can get it >1 count which will ignore the text values. You can try it your self by creating simple inline table.