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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Function P() or E()

Hi

     I have a pivot table with two dimension:

                    State  |       State1     State2     State3

Product                  |     

       product1                      -               3           4

       product2                      1               6           5


What i want?...Filtrer product1 and qlik show me this:

                   

                    State  |       State1     State2     State3

Product                  |     

       product1                      -               3           4

and not this;

                    State  |         State2     State3

Product                  |     

       product1                         3           4

I mean, i want it to appear all states having data or not. Because a need know what product not have sales in any states.

obs: a select option "Show null values", but not work"

I'm tried use P() function, like this:

sum({< State = P(State)>} sales) , but not work...=/

 

Labels (1)
7 Replies
avinashelite
MVP
MVP

State1 , 2 and 3 are expression ??

Then you need to conditional hide the expression when they are null

Anonymous
Not applicable
Author

State1,2,3 are fields...expression are  -,3,4 which is sum(sales).

What i want, for example is, even State1 not have sales, i want see when i filter it.

avinashelite
MVP
MVP

Go to Presentation tab > and Un-Check suppress null value and missing Values that should work

Anonymous
Not applicable
Author

I forgot to say, i'm working with qlik sense...

But i'm tried this to...=/

avinashelite
MVP
MVP

Oh , then please close this thread hear and open an new one under the Qliksense category

ahaahaaha
Partner - Master
Partner - Master

Hi Matheus,

As far as I know, such settings for your task in Qlik Sense no.

Regards,

Andrey

inoruoya
Partner - Contributor III
Partner - Contributor III

try this

sum({< State=P({<Product=}>}State) >} sales)

I think you mean possible state that any product have  right?