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

Expression in Pivot Table

Hi guys,

I'm in trouble with an expression in my pivot table.

The Pivot table has these dimensions:

District,

Area,

AreaManagerName,

SubAreaManagerName

At the moment, I've an expression that calculate how many SubAreaManager a single AreaManager has.

So in my pivot table I have this expression:

count({$<gradoPB={'060'}>}PBcode)

gradoPB = 060 says that the PB (identifyed by his codePB) is a SubAreaManager.

IT WORKS PERFECTLY.

Now, I want to calculate how many SubAreaManager with

(SUM(Field1) / SUM(Field2)) >= 0.2

a single AreaManager has.

I hope it's clear.

Can someone help me?

Thanks in advance

Giampiero

2 Replies
Not applicable
Author

I have to put this condition in my set analysis.

If I can put this filter : SUM(Field1) / SUM(Field2)) >= 0.2

in this expression:

aggr(Count({$<gradoPB={'060'}>} codicePB),AreaManagerName)

I think I can solve the problem.

Any suggestion ?

Thanks

Giampiero

Not applicable
Author

No one can help me?

😞