Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
sub totals in pivot table not working in qliksense pivot table.
Please look into this.
Thanks,
Krish
Try like:
Sum(Aggr(
if([Repeat Flag]='Yes' and (alt(1-(fabs(sum({<[Movemet Type]={'701','702'},Type={'Rolling 3'}>}total <Material,Plant> [Amount LC]))
/
avg({<Type={'Rolling 3'}>}total <Material,Plant>[Stock Value Main])*100),0) < '0.99') and
sum({<[Movemet Type]={'701','702'},Type={'Rolling 3'}>}total <Material,Plant> [Amount LC]) <'-1000',sum( [Amount LC]))
, Material, Plant, MonthYear, [Movemet Type]
))
Hi,
Any suggestions please.
Thanks,
Krish
What is your expression?
Expression 1:
if([Repeat Flag]='Yes' and (alt(1-(fabs(sum({<[Movemet Type]={'701','702'},Type={'Rolling 3'}>}total <Material,Plant> [Amount LC]))
/
avg({<Type={'Rolling 3'}>}total <Material,Plant>[Stock Value Main])*100),0) < '0.99') and
sum({<[Movemet Type]={'701','702'},Type={'Rolling 3'}>}total <Material,Plant> [Amount LC]) <'-1000',sum( [Amount LC]))
Expression 2:
if([Repeat Flag]='Yes' and (alt(1-(fabs(sum({<[Movemet Type]={'701','702'},Type={'Rolling 3'}>}total <Material,Plant> [Amount LC]))
/
avg({<Type={'Rolling 3'}>}total <Material,Plant>[Stock Value Main])*100),0) < '0.99') and
sum({<[Movemet Type]={'701','702'},Type={'Rolling 3'}>}total <Material,Plant> [Amount LC]) <'-1000',sum([Stock Value Main]))
Thanks,
Krish
Hi,
Any suggestions please.
Thanks..
Try a quick fix. Put Sum(...) around your expression. If this doesn't help, try to share your app with sample data.
Hi,
I'm getting "Nested Aggregation Not Allowed" error when using the "sum".
Attaching the application with sample data.
Thanks..
Try like:
Sum(Aggr(
if([Repeat Flag]='Yes' and (alt(1-(fabs(sum({<[Movemet Type]={'701','702'},Type={'Rolling 3'}>}total <Material,Plant> [Amount LC]))
/
avg({<Type={'Rolling 3'}>}total <Material,Plant>[Stock Value Main])*100),0) < '0.99') and
sum({<[Movemet Type]={'701','702'},Type={'Rolling 3'}>}total <Material,Plant> [Amount LC]) <'-1000',sum( [Amount LC]))
, Material, Plant, MonthYear, [Movemet Type]
))