Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

SET ANALYSIS

Dear Team, I have a table like Name , Date, sum(orders) . i want to create on more expression in the Table which sum(orders) - MIN date sum of Orders example given below:

ClientDateOrdersResult
A20-Apr-141000
A21-Apr-1415050
A22-Apr-14200100
B1-Jan-14500
B2-Jan-1410050
B3-Jan-14200150

In the above table result column is the difference ( the difference in future may be in % or other formula also)  of the RED, Clientwise.

13 Replies
aveeeeeee7en
Specialist III
Specialist III

Hi

Try this Expression:

SUM(Orders)-SUM({<Date={'$(=MIN(Date))'}>}Orders)

Regards

Av7eN

Not applicable
Author

try this ,

sum(ordres)-firstsortedvalue(orders,date)

Not applicable
Author

order is not datewise single record. i required to use sum()

Not applicable
Author

Dear Sir,

i already told before the formula u have given work perfectly fine, when the date is not a part of the table Column,

when i add the date as a column into the table the above formula get fail.

please find screen shot for same.

Untitled.png