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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

netk week delivery only in Expression

Count({<[Delivery Week]={Week(Today)>} [Customer Name])... it throws error...pls coorrect it

1 Solution

Accepted Solutions
CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Then you should use like this

     Count({<[Delivery Week]={"$(='week ' & Week(Today()))"}>} [Customer Name])

Hope it helps

Celambarasan

View solution in original post

15 Replies
tresesco
MVP
MVP

Probably you are missing one'}', try it as : Count({<[Delivery Week]={Week(Today)}>} [Customer Name])

Regards,  tresesco

CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Try with this expression

     Count({<[Delivery Week]={$(=Week(Today))}>} [Customer Name])

Celambarasan

Anonymous
Not applicable
Author

your expression also error... i think week(today()) is inbetwwen the quotes ..but it showing error

Anonymous
Not applicable
Author

no i want general where condition not current selection

CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     You mean independent of other field selection?like this?

     Count({1<[Delivery Week]={$(=Week(Today()))}>} DISTINCT [Customer Name])

Celambarasan

tresesco
MVP
MVP

So you mean tried this also,

Count({<[Delivery Week]={"=Week(Today())"}>} [Customer Name])

Regards,  tresesco

jagan
Partner - Champion III
Partner - Champion III

Hi,

Try using the below expressions

Count({<[Delivery Week]={$(=Week(Today()))}>} [Customer Name])

OR

Count({<[Delivery Week]={'=$(=Week(Today()))'}>} [Customer Name])

OR

Count({<DateField={'>=$(=WeekStart(Today()))<=$(=WeekEnd(Today()))'}>} [Customer Name])

Regards,

Jagan.

Anonymous
Not applicable
Author

how to use without current selection($)

CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Here $(=) its not a current selection its to telling the qlikview to evaluate the expression inside it.It means dollar expansion.

     Count({$<fields>} FieldName) (This will be used for current selection)

    

     Count({1<fields>} FieldName) (This will be used to ignore the current selections)

Hope it helps

Celambarasan