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: 
girish21595
Partner - Contributor III
Partner - Contributor III

% of Top 20 Discount Value

Hi All,

I have a requirement to show the top 10 discounts by Outlets with a field % contribution to the top 20 value.

Please find the attached excel for more info.

 

Thanks,

Girish.

1 Reply
girish21595
Partner - Contributor III
Partner - Contributor III
Author

This is the expression used for the current month.

Sum({<$(vTargetCurrency), Month =, Year =, [Check Duration] = {">= $(vDurationSlider)"}, Date = {">=$(=Date(MonthStart(Max(Date),-1),'DD/MM/YYYY')) <=$(=Date(Addmonths(Max(Date),-1),'DD/MM/YYYY'))"}>}$(vDiscount_Value)*$(vSourceToTargetRate))*(-1)