Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

need to show just one dimension in a table

I have already add a expression

Avg({$< PAIS = {[COSTA RICA]},TIPO = {'OBJ','REAL','CUMPL'}>}Agosto16)

It works fine but i could not get to show only COSTA RICA in the table.

As you can see in the picture anothers Countrys are been shown in the table.

What can i do to fix this?

Tnks

Adrian

Example.JPG

9 Replies
Anil_Babu_Samineni

Try like this

Avg({$< PAIS = {'COSTA RICA'},TIPO = {'OBJ','REAL','CUMPL'}>}Agosto16)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
stabben23
Partner - Master
Partner - Master

You need to have same set analysis in all expression, Guatemale comes from Setiembre expression.

Use PAIS = {[COSTA RICA]} also in that expression.And all other if there is more.

Not applicable
Author

Thanks for the reply, but I got the same result, GUATEMALA is still in the table as well as the others

stabben23
Partner - Master
Partner - Master

if you add PAIS = {[COSTA RICA]} in all expression you will have only Costa Rica

stabben23
Partner - Master
Partner - Master

And the same for TIPO = {'OBJ','REAL','CUMPL'} if that should affect on all expression

Anil_Babu_Samineni

You may remove the $  and then try

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Not applicable
Author

Thank you so much, Got it.

Peter_Cammaert
Partner - Champion III
Partner - Champion III

The idea is that in order to hide dimension values, we try to suppress their expression output. Default QlikView behavior will cause those dimension values that produce only 0 or NULL values in all their expressions to be unlisted.

Set Analysis restricts calculations to specific dimension values, but the others will only be hidden if you suppress them in all expressions.

Note that you can disabled this default behavior in the Presentation tab

rupamjyotidas
Specialist
Specialist

If you are really trying to show only [COSTA RICA], why not do a calculated dimension

If(PAIS='[COSTA RICA]',PAIS)

Don't forget to check'Suppress When NULL'