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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Calculations in different dimensions of the visible

I have a problem.

I am creating a table chart with 3 dimensions , but the expression must be related to only two ( Aggr ) .


dúvida QV.jpg

In this case the number 14 should repeat for each BANDEIRA/UF iguals because the AGGR is with BANDEIRA and UF .

Expression about TESTE 00: =COUNT({<EAN=,UN_01={'>0'}>} OUTLET_COD)

Expression about % Bandeira / UF: =AGGR(COUNT({<SKU_SELL_OUT=,OUT_ATIVO={'S'}>} CNPJ),OUT_BAND,UF)


My goal is to one another to find out how much each EAN is about the total Flag x UF. But when I do that the graph only shows the first EAN .


TKS

1 Solution

Accepted Solutions
sunny_talwar

Try this:

Count(TOTAL <OUT_BAND, UF> {<SKU_SELL_OUT=,OUT_ATIVO={'S'}>} CNPJ)

or not recommended:

=Aggr(NODISTINCT Count({<SKU_SELL_OUT=,OUT_ATIVO={'S'}>} CNPJ),OUT_BAND,UF)

View solution in original post

2 Replies
sunny_talwar

Try this:

Count(TOTAL <OUT_BAND, UF> {<SKU_SELL_OUT=,OUT_ATIVO={'S'}>} CNPJ)

or not recommended:

=Aggr(NODISTINCT Count({<SKU_SELL_OUT=,OUT_ATIVO={'S'}>} CNPJ),OUT_BAND,UF)

Not applicable
Author

Perfect

I'm used

Count(TOTAL <OUT_BAND, UF> {<SKU_SELL_OUT=,OUT_ATIVO={'S'}>} CNPJ)