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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Less ten equal to not working in set

Hi geniuses,

I am using this formula

sum({$<Year = {$(=only(Year))}, [Fiscal Week ID] = {"<=$(=max([Fiscal Week ID]))"}>} [Product Bookings Net])

Fiscal Week ID is Numeric

But instead of giving all the data set which has Fiscal week ID less then the Fiscal Week I am selecting it jus give me the result whic is similar too

Sum([Product Bookings Net])

Has to present to client tomo

pls help

Thanks,

Shashank

3 Replies
rajeshvaswani77
Specialist III
Specialist III

You must chnage double quotes to single quotes.

thanks,

Rajesh Vaswani

Anonymous
Not applicable
Author

If I am making selection on Fiscal Week Id it give me a correct answer but wen I make selection on Fiscal week it doesnot give me correct answer, though the Fiscal week Id And Fiscal week is linked

for exmple

if Fiscal week = wk1 Apr 2010

Fiscal week Id is=2010091

CELAMBARASAN
Partner - Champion
Partner - Champion

It looks like on selecting year also it will display data.

try with this

sum({$<Year = {$(=Max(Year))}, [Fiscal Week ID] = {"<=$(=max([Fiscal Week ID]))"}>} [Product Bookings Net])