Qlik Community

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Now Live: Qlik Sense SaaS Simplified Authoring – Analytics Creation for Everyone: READ DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
help4qv123
Creator II
Creator II

Dynamic change of expression

Hi friends,

I have a senario, i am attaching a sample. I have a listbox name 'status'. As of now i have to show count of each status.

for eg: open,closed,...now in expression i m giving hardcode expression like :

Count({<status={'open'}>}status)

Count({<status={'closed'}>}status)

later another status may get added like.,  inprogress....instead of status...i need dynamicaly...so that

automaticaly it should get added.

can u plz help on this

1 Solution

Accepted Solutions
preminqlik
Specialist II
Specialist II

add both dimensions "dim,Status " as dimension and write your normal expression as follows

Count(status)

View solution in original post

5 Replies
preminqlik
Specialist II
Specialist II

add both dimensions "dim,Status " as dimension and write your normal expression as follows

Count(status)

maksim_senin
Partner - Creator III
Partner - Creator III

Hi,

If you need you need to show this in a list box just check "Show Frequency" flag in the list box setting.

If you mean a chart I'd use 'status' as dimension and 'Count(status)' as an expression.

Best regards,

Maxim

help4qv123
Creator II
Creator II
Author

your ans helped me..thankx...small thing is when i use it in pivot and drag...i dont need the dim name...

i have attached a screen short !Untitled.png

preminqlik
Specialist II
Specialist II

go to Properties>Dimension and select status >> in the label press space

ankitaag
Partner - Creator III
Partner - Creator III

Hi,

Please find the application attached