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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Using set expression in a graph dimension

Hi everybody,

I have a graph with time as dimension and the following formula as expression:

count(DISTINCT

                    {$

                     <

                          Project=

                         ,[Project Type]=

                         ,[Project Category]={"Execution"}

                         ,SA_PER_ORG_P={"EMP"}

                       >

                        +

                       <

                          [Project Category] = {"Potential"}

                          ,SA_PER_ORG_P={"EMP"}

                        >

                     } 

        EMPLID_RD)

The formula counts the distinct Employee ID  considering the intersection of the two set defined in the set expression (red and blue).

I need to display a table (pivot table, linear table) with the list of the distinct emplid counted in the formula for a single month, with their properties. 

Due to set expression in the formula, the list of possible EMPLID (white EMPLID) is different from the list i would like to obtain. 

Do you have any suggestion to obtain my target list?

I tried to use set expression as dimension of a graph but it didn't work.

I thougth to use alternate state, but i can simulate only one of two state defined in the set expression.

Thanks in advance,

Giampaolo

3 Replies
v_iyyappan
Specialist
Specialist

Hi,

Use this expression like this

count( {$ <  Project=,

               [Project Type]=,

               [Project Category]={"Execution","Potential"} ,

               SA_PER_ORG_P={"EMP"} >

     DISTINCT   EMPLID_RD)

Regards,

Iyyappan

Not applicable
Author

Hi,

The problem is not in the expression, it works fine.

I need to display the list of EMPLID counted by the Expression.

Thanks,

Giampaolo

Not applicable
Author

Hi everybody,

Somebody has any idea?

Thanks

Giampaolo