Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Expression

HI Experts

I have a sales table, I want to calculate sum(sales) for Current Month and
I am using the following expression to calculate it

=Sum({< DEC_MonthYear=, DEC_Date = {'>=$(=Date(MonthStart(vMaxSalesDate)))<=$(=Date(vMaxSalesDate))'} >} Sales)

But Now i want changed my script and loading

as

Load

date,

sum(Sales)

,

,

From

Now How can I Change the expression

7 Replies
Not applicable
Author

can u share qvw?

anbu1984
Master III
Master III

Rename Sum(Sales) to Sales, then you don't need to change your UI expression

Load

date,

sum(Sales) As Sales

,

,

From

Not applicable
Author

HI Anbu

Will it work the same

because I am using a dimension Customer Number

I want the sum(sales) against the customer Number

anbu1984
Master III
Master III

Can you post the script

Not applicable
Author

Hi Anbu

Here is the data

anbu1984
Master III
Master III

So you want to calculate sum(Sales) from QVD data?

Can you post your script?

Is Sheet1 data different table than QVD?

Not applicable
Author

HI Anbu

Please Provide me your emaiID I ll send the QVW to you