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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
master_student
Creator III
Creator III

sub Sum

Hello Guys,

I hope everything is okay

I have a table that contains a few dimensions and an expression :

Capture.PNG

I need to get the Total of SLA inter BY groupe prestataire knowing that the SLA INTER IS a calculated dimension =Interval(Interval#(SLA_INTERM, 's'), 'm')

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

Are you saying that for these rows

Capture.PNG

you would want to see 10635 on each of the rows?

May be this

=Interval(Sum(TOTAL <[Code Cas], [Date de commande], [SLA Globale], [Groupe prestataires]> Interval#(SLA_INTERM, 's')), 'm')

View solution in original post

3 Replies
Kushal_Chawda
MVP
MVP

Instead calculated dimension for SLA INTER create expression

=sum(aggr(Interval(Interval#(SLA_INTERM, 's'), 'm'),[Code Cas],[Date de commande],[SLA globale],[groupe prestataire]))


or


=sum(Interval(Interval#(SLA_INTERM, 's'), 'm'))


sunny_talwar
MVP
MVP

Are you saying that for these rows

Capture.PNG

you would want to see 10635 on each of the rows?

May be this

=Interval(Sum(TOTAL <[Code Cas], [Date de commande], [SLA Globale], [Groupe prestataires]> Interval#(SLA_INTERM, 's')), 'm')

its_anandrjs
Champion III
Champion III

What is the expected output you need also which fields are calculated dim.