Qlik Community

QlikView Creating Analytics

Discussion Board for collaboration related to Creating Analytics for QlikView.

vikasgupta
Contributor

Set Expression

Hi Everyone

Can anyone explain this set expression


ID_TYPE=$::ID_TYPE,

Thanks

Vikas

1 Solution

Accepted Solutions
Not applicable

Re: Set Expression

This is used when you have Alternate State(s).

To apply or use the selection(s) from one state in another state, you would use such syntax.

e.g. sum({[State 1]<ID_TYPE=$::ID_TYPE>} Sales)

8 Replies
vikasmahajan
Honored Contributor III

Re: Set Expression

Hii

Normally :: is used with comprehensive analysis meaning of this expression is   ID type is = selected ID type $ is used for selection.

Hope this help you.

Vikas Mahajan

vikasgupta
Contributor

Re: Set Expression

Hi Vikas

Thanks for reply !!

Please let me know If i am correct then this expression used for just fetching current selection .

Thanks

Vikas

vikasmahajan
Honored Contributor III

Re: Set Expression

Yes , $ identifier is for current selections only.

Not applicable

Re: Set Expression

:: is a scope resolution

er_mohit
Honored Contributor II

Re: Set Expression

MVP
MVP

Re: Set Expression

I guess, this is being used in a case of alternate state.   $:: is to use the selection in the default state filters.

Not applicable

Re: Set Expression

hi

in your code
ID_TYPE=$::ID_TYPE,

here--

:: stands for Scope Operator also known as default state scope operator.

basically this uses in set analysis with $ (current selection)  sign

Not applicable

Re: Set Expression

This is used when you have Alternate State(s).

To apply or use the selection(s) from one state in another state, you would use such syntax.

e.g. sum({[State 1]<ID_TYPE=$::ID_TYPE>} Sales)

Community Browser