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: 
swarup_malli
Specialist
Specialist

Variable showing as bad field name ?

Hi,

I have declared a variable in the frontend,

    ex:

    Let say variable name is v_product.

The purpose of this variable is , I specify this variable in the tab--> layout -> show..condition field..in chart properties of a bar chart..so that when the condition is true chart is shown and when false chart disappears...

inspite of declaring and relaoding the application...the variable  v_product...it is shown as bad field name...the problem is variable is not being decalred..

any ideas ?

Thanks

Swarup

1 Solution

Accepted Solutions
swarup_malli
Specialist
Specialist
Author

Thank u  Miguel,

I was able to fix the problem, there was a blank space b4  v_product that is why it was showing it as bad field name

Thanks

Swarup

View solution in original post

2 Replies
Miguel_Angel_Baeyens

Hi Swarup,

It depends on where do you want to create your variable. You can SET or LET it in the script, assigning some value to it, you can create it and leave it empty in the Settings menu, Variable Overview. You can assign any value there as well. This ways the variable should appear all right and the chart show or hide accordingly.

Hope that helps.

Miguel

swarup_malli
Specialist
Specialist
Author

Thank u  Miguel,

I was able to fix the problem, there was a blank space b4  v_product that is why it was showing it as bad field name

Thanks

Swarup