Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
tmumaw
Specialist II
Specialist II

Ignore dimension

Hi all,

I am trying to ignore a dimension on one of my pivot tables.  See the attached images:

The column in the pivot table labeled Avg Emps should be the same as the one above.  How can I ignore the action in the bottom chart?

thanks

17 Replies
tmumaw
Specialist II
Specialist II
Author

There are 2 employees which have a 26.  The column labeled Avg Emps should be 542 on 24, 26 and 27.  I want to calculate the % to total avg emps.

Anonymous
Not applicable

Sum(TOTAL EmpCt_ZEMPCT) / Count({<EmpDays = {1}>}DISTINCT TOTAL(Date_ZWKDATE))

Anil_Babu_Samineni

There is no data for 26 in EmpCt_ZEMPCT. Could be fault over there?

Capture.PNG

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
tmumaw
Specialist II
Specialist II
Author

Thanks Wallo......works perfect and thanks Anil.....for your help

tmumaw
Specialist II
Specialist II
Author

Wallo,

Works great for 1 year being selected, however when I un-filter on the year I get this:

Anonymous
Not applicable

Try

=aggr((Sum(TOTAL <FISYR> EmpCt_ZEMPCT) / Count({<EmpDays = {1}>}DISTINCT TOTAL<FISYR>(Date_ZWKDATE))),FISYR,Action)

tmumaw
Specialist II
Specialist II
Author

Thanks Wallo.  This was what I was looking for.  Have a great weekend.

Anonymous
Not applicable

Glad it works for you.  You have a good weekend too!