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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
ziabobaz
Creator III
Creator III

Dimension's field as input to variable

Hello!

I have Funnel2 dimension, which is DUAL

i created variable MyVar=num(funnel2)

i created a table:

Dimension = Funnel2

Measure1 = $(MyVar)

Measure2 = num(STATUS)

The problem is that the Measure2 is null until i choose one of the dimensions. Is there way to force variable to compute a value even w/o selections in dimension field?

Screenshot_3.jpg

thank you!

1 Solution

Accepted Solutions
ziabobaz
Creator III
Creator III
Author

Sorry, funnel 2 = status in my case, so it returns the same.

However, I found the answer myself.

In the variable i wrote 'num(funnel2)' without 'equals' sign and it worked!


Screenshot_2.jpgScreenshot_1.jpg

View solution in original post

2 Replies
Anil_Babu_Samineni
MVP
MVP

Can you try this as measure? num(funnel2) and show the image?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
ziabobaz
Creator III
Creator III
Author

Sorry, funnel 2 = status in my case, so it returns the same.

However, I found the answer myself.

In the variable i wrote 'num(funnel2)' without 'equals' sign and it worked!


Screenshot_2.jpgScreenshot_1.jpg