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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Ashutosh11
Contributor II
Contributor II

how to get total sum

sum(comsumed_qty)
/
SUM(total(count({<JS_Closed_Flag_TAT1={'T'},repair_c-={'Pending For Part'},type_c-={'Reschedule'},
repair_c-={'Pending for Part'},complain_type={'Productive'},product_type-={'3'}>}distinct job_sheet)))

 

let me know how to get total  % for this expression. This expression showing blank value.

 

Labels (2)
1 Reply
Chanty4u
MVP
MVP

try this

IF(SUM(total count({<JS_Closed_Flag_TAT1={'T'}, repair_c-={'Pending For Part'}, type_c-={'Reschedule'},
repair_c-={'Pending for Part'}, complain_type={'Productive'}, product_type-={'3'}>} distinct job_sheet)) = 0,
NULL(),
(SUM(comsumed_qty) / SUM(total count({<JS_Closed_Flag_TAT1={'T'}, repair_c-={'Pending For Part'}, type_c-={'Reschedule'},
repair_c-={'Pending for Part'}, complain_type={'Productive'}, product_type-={'3'}>} distinct job_sheet))) * 100
)