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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Need help in Set expression

Dear all,

Need help in set analysis expression,

Below expression working fine by item wise But Total level coming wrong.

Please help me on below .

(if([Base Unit]<> Confirmation_Unit, if(isnull(Conv),  (sum({<FiscalYear={$(=max(FiscalYear))},

Date={">=$(=Date(monthstart(max({<Flag={'Actual'}>}Date))))<=$(=date(max({<Flag={'Actual'}>}Date)))"}>}[Rejected Quantity])),

( sum({<FiscalYear={$(=max(FiscalYear))},

Date={">=$(=Date(monthstart(max({<Flag={'Actual'}>}Date))))<=$(=date(max({<Flag={'Actual'}>}Date)))"}>}[Rejected Quantity])*Conv)),

sum({<FiscalYear={$(=max(FiscalYear))},

Date={">=$(=Date(monthstart(max({<Flag={'Actual'}>}Date))))<=$(=date(max({<Flag={'Actual'}>}Date)))"}>}[Rejected Quantity]) ))

Thanks,

Surender

1 Reply
tresesco
MVP
MVP

Could you post a demonstrative sample? Preparing examples for Upload - Reduction and Data Scrambling