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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sum of Distinct Records

Hi

Below is the sample data

  

  

DateMAR         vTAT
2015-04-24150424SCBLAU2SAXXX44958660321:13:41
2015-04-24150424SCBLAU2SBXXX012300400263:41:27
2015-04-24150424SCBLAU2SAXXX449586603365:52:23
2015-04-24150424SCBLAU2SBXXX012300400263:41:27
2015-04-24150424SCBLAU2SBXXX0123004002

63:41:27

Need to find the average of vTAT for DISTINCT MAR using Date as Dimension

Average should be around 43:35:50

It should be displayed as a BAR CHART

Regards

5 Replies
sunny_talwar

May be this:

=Avg(Aggr(Avg(vTAT), MAR))

Anonymous
Not applicable
Author

Test and confirm

sunny_talwar

Please find attached a sample application with the desired output:

Capture.PNG

Capture.PNG

Not applicable
Author

Hi

Below is my Requirement

Dimension - > Date

Need to find the average of Time Diff between EndDate and Start Date for Distinct MAR

In the Attached file the average should be 45:35:50

Note: Source file attached as excel in Distinct Sum

Regards,

Senthil

Not applicable
Author

Hi

Below is my Requirement

Dimension - > Date

Need to find the average of Time Diff between EndDate and Start Date for Distinct MAR

In the Attached file the average should be 45:35:50

Note: Source file attached as excel in Distinct Sum

Regards,

Senthil