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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Dynamic system fields in radar chart

Hello.

I want to create radar chart where I will be able to change expression using system table "$Field".

So I've created Listbox with system fields. Then I've created Variable  vFieldSelection "='['&[$Field]&']'".

And now I've created expression in chart like that "Sum ($(vFieldSelection))".

And everything is fine when I want to show only 1 expression from 1 selected field.

But when I select more then 1, there is no data.

I want to create more expressions for chart using next selected items.

Is there any way to get first selected field to variable, then second selected item to variable etc. so I will be able to add more expressions for next variables?

17 Replies
Not applicable
Author

Ok, you're right it will be easier. Here it is.

rbecher
Partner - Master III
Partner - Master III

Here we go..

Data & AI Engineer at Orionbelt.ai - a GenAI Semantic Layer Venture, Inventor of Astrato Engine
Not applicable
Author

Thank you. I've must made some mispelling or somethin.Or I had different value in dimension and that's why I had errors.

But still I'm curious tresesco solution.

rbecher
Partner - Master III
Partner - Master III

You should set a condition to view the chart only if something (and not too much) is selected from $Field...

Data & AI Engineer at Orionbelt.ai - a GenAI Semantic Layer Venture, Inventor of Astrato Engine
tresB
Champion III
Champion III

The vField1 definition was missing a pair of parenthesis.

vField1=SubField('$(vAllFields)', ';' ,1)                  // and it works fine.

PFA

Not applicable
Author

Hi thank you. It's working, but I have spaces in tags, and then it doesn't work 😞

Any solution maybe?

tresB
Champion III
Champion III

Put '[ ]' in the variable definition like:

='['&SubField('$(vAllFields)', ';' ,1)&']'

Not applicable
Author

Thanks. It works, but still only for 1 selection, when I select 2 vals, it has no data ;-).