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

Announcements
Share your agentic AI experience, learn from others, and earn a new badge: Put Agentic AI to Work
cancel
Showing results for 
Search instead for 
Did you mean: 
Suraj_Kendre
Contributor II
Contributor II

showing different avg for table and KPI

Hello,

I have data to calulate performance.

if(sum(Aggr (RangeSum(Above(Sum(D_Actual_Nos),0,RowNo())),D_Plan_Item,D_End_Date))/sum(Aggr (RangeSum(Above(Sum(D_Plan_QTY),0,RowNo())),D_Plan_Item,D_End_Date))>1,1,
sum(Aggr (RangeSum(Above(Sum(D_Actual_Nos),0,RowNo())),D_Plan_Item,D_End_Date))/sum(Aggr (RangeSum(Above(Sum(D_Plan_QTY),0,RowNo())),D_Plan_Item,D_End_Date)))*100 

above expression woking in staight table but when i do apply in gauge or in KPI it showing diff of avg

refer below snap.

Suraj_Kendre_2-1680090988525.png

any suggestion please 

 

Labels (3)
1 Reply
sandeep-singh
Creator II
Creator II

Auto means calculating the total by evaluating the expression's overall data. Sum means to sum up the rows in the chart. There can be differences depending on your data model and the dimensions used. For example, Auto will never double-count. The sum can double count.

Please read the below article on what total qualifiers do

https://community.qlik.com/t5/Design/What-does-the-TOTAL-qualifier-do/ba-p/1472990