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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Formula in Calculated Dimension

Dear Experts,

I am using the below formula in the calculated dimension of a pivot table and getting "// Error in calculated dimension"

"if(sum(Stock_Qty)>0,If((sum(Stock_Qty)/AvrgSales)>$(VMonths),sum(Stock_Qty) - ($(VMonths) * AvrgSales),))"

Any help

Labels (1)
10 Replies
Not applicable
Author

Yes each ItemName has one AvrgSales loded in Qlikview this value is unique by ItemName and dose not change. Actually it is an estimation of the sales.

VMonths is defined using a slider in QlikView.

You mean " by stray?

In my formula I am using sum many times with each sum I have to use aggr()?