Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

dayna_litherlan
Contributor

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

Re: Aggr across dimension group

4 Replies
MVP
MVP

Re: Aggr across dimension group

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_litherlan
Contributor

Re: Aggr across dimension group

Hopefully this one is better!

Re: Aggr across dimension group

dayna_litherlan
Contributor

Re: Aggr across dimension group

Yup, raised in error, please ignore this thread.