Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
vijayit43
Creator
Creator

problem in Variable..

Hi Expert,

In My QlikView we have create a variable using Aggrigate sum , when we use variable in pivat expression then no data coming when expression write same Aggrigate Sum Expression then give correct data, how to set expression using variable. please Suggest

1 Solution

Accepted Solutions
Gysbert_Wassenaar

See attached qvw. You should do these calculations in the script. The performance of the expressions in the pivot table is pretty bad.


talk is cheap, supply exceeds demand

View solution in original post

6 Replies
Gysbert_Wassenaar

Please post a document that demonstrates the problem. Your explanation does not offer enough information to pinpoint the problem.


talk is cheap, supply exceeds demand
vijayit43
Creator
Creator
Author

Hi

We have Calculating Employ Aging where we create every expression as one variable when select one dimension give accurate data but when no filter apply then give all value is 0 please Suggest how to do that its urgent. for sample QV is attached

vijayit43
Creator
Creator
Author

Hi Expert...

   Please Suggest..

SunilChauhan
Champion II
Champion II

use like below example

set Vaggr="=aggr(sum(sales),DeptId)";

and use $(Vaggr) in front end expression

or

set Vaggr=aggr(sum(sales),DeptId);

and use $(Vaggr) in front end expression

or

set Vaggr='=aggr(sum(sales),DeptId)';

and use $(Vaggr) in front end expression

hope this helps

Sunil Chauhan
vijayit43
Creator
Creator
Author

Hi Sunil,

        I am try but its not work sample qv attached please suggest..

Gysbert_Wassenaar

See attached qvw. You should do these calculations in the script. The performance of the expressions in the pivot table is pretty bad.


talk is cheap, supply exceeds demand