Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
rafael5958
Creator
Creator

condition on graphics

I have a straight table with an dimension "name" column and an  expression column. My expression:

count({$<TIPO_TITULARIDADE={'2-Titularidade diferente'},CB-={'TAR','EST'},CAD_NOME-={'NÃO INFORMADO','NA','',NULL}>} distinct ID)

It shows something like:

Nameexpression
XXXX3
AAAAA3
BBBB2
DDDD2
SSSS2
JJJJJJJ2
QQQQQQQQQ1
WWWWW1
EEEEEE1
RRRRRRR1

 

I need to show a graphic of the names only with expression higher then 2. How can I do that?

Labels (1)
2 Replies
Arthur_Fong
Partner - Specialist III
Partner - Specialist III

Try this in calculated dimension:

=if(aggr(count({$<TIPO_TITULARIDADE={'2-Titularidade diferente'},CB-={'TAR','EST'},CAD_NOME-={'NÃO INFORMADO','NA','',NULL}>} distinct ID),Name)>2,Name,null())

Under settings on selected dimension,

Check(Tick) suppress when value is null.

 

rafael5958
Creator
Creator
Author

Im using the dracula graph extension below, so this "supress when value is null" is not an option.

https://community.qlik.com/t5/QlikView-Extensions/Visualization-of-Graph-Data/td-p/471132