7 Replies Latest reply: Mar 20, 2017 5:47 AM by Prashanth Reddy

# Help me in working with Pivot table in calculating agregate or %ge in Qlik Sense.

Hi Team,

I'm facing problem in calculating %ges in pivot table. Please go through the below sample data and address me with the solution.

Data:

Note: Dedicated hours per day = 8

After converting pivot results should be as mentioned below..

But I'm getting different results as shown below. Results are calculated basing on the below mentioned formula but it should be based on the formula which mentioned above.

I tried to figure it out by set analysis but unable to get the correct results. Please help me to get the accurate results.

• ###### Re: Help me in working with Pivot table in calculating agregate or %ge in Qlik Sense.

What is the expression you are using today?

• ###### Re: Help me in working with Pivot table in calculating agregate or %ge in Qlik Sense.

Hi Sunny,

Below is the expression which I used..

=100*\$(vUtilizationHrs)/(\$(vAvailableDays)*8)

vUtilizationHrs = Sum([Utilized Hrs])

vAvailableDays = sum(Aggr(Count(distinct Date), Date,Analyst))

• ###### Re: Help me in working with Pivot table in calculating agregate or %ge in Qlik Sense.

Can you try this

vAvailableDays = Sum(TOTAL <Analyst> Aggr(Count(Distinct Date), Date, Analyst))

• ###### Re: Help me in working with Pivot table in calculating agregate or %ge in Qlik Sense.

Getting all zeros..

• ###### Re: Help me in working with Pivot table in calculating agregate or %ge in Qlik Sense.

Would it be possible for you to share a sample?

• ###### Re: Help me in working with Pivot table in calculating agregate or %ge in Qlik Sense.

Hi Sunny,

I missed something. Its working now.

• ###### Re: Help me in working with Pivot table in calculating agregate or %ge in Qlik Sense.

Sorry... Its working fine

Thanks a lot..