Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Dayna
Creator II
Creator II

Aggr across dimension group

Good Morning All!

I think what I'm trying to do is fairly simple but I'm having issues achieving it this morning. I've attached a file where I need to sum the value for event.duration_m (and it uses a bit of set analysis), but as the row can sometimes be duplicated for the event.id, the value is too high - as there's a row for each hour the event occurs (i.e. if the duration is 4 hours long, we'll get four records with the same id).

I think I need to aggregate it over the event.id for distinct values, but this doesn't seem to work for me. In the attached file, I've selected an example record to where my problem is - if you could help it would be really appreciated!

Many thanks in advance!

Kind Regards,

Dayna

1 Solution

Accepted Solutions
4 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

That file is too large. I suggest you create a smaller sample file to illustrate your issue.

See this for how to make up the sample:

Preparing examples for Upload - Reduction and Data Scrambling

Also remove from the sample all the sheets and objects that are unrelated to the issue and make it clear what output you require.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Dayna
Creator II
Creator II
Author

Hopefully this one is better!

Dayna
Creator II
Creator II
Author

Yup, raised in error, please ignore this thread.