Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
jagannalla
Partner - Specialist III
Partner - Specialist III

Display Group expression label name in text object

Hi All,

I had created one group with two fields and added that group as dimension in bar chart. Now I had created one group for two expressions in expression tab.

Everything is fine, but I want to display Expression label in one text object what I selected in cyclic group. i.e. outside of the chart in text object.

For example: I had two expressions i.e. sum(val)-> Sum and Count(val) as Count

When I select Sum from cyclic group of chart. I need to display "Sum" in text object.

Thanks,

Jagan

5 Replies
Anonymous
Not applicable

Expression cycle is a property of the chart, and is not available outside of the chart.

A possible workaround is to control both chart expression and text box from another object - input box or button by using a variable.

Regards,

Michael

jagannalla
Partner - Specialist III
Partner - Specialist III
Author

Yes you are right. Right now I'm controlling those expressions with two variables. Variable contains the list of fields need to be selected, this can be done by using input box.

For example vExpr1 =Field1;Field2;Field3, in input box with drop down. When I select field it will implied in expression i.e. sum($(vExpr1)).

But I had give label name as SalesAmount for this expression. I want to display this label name in text object.

Right now I don't have any trick for this.

jagan
Luminary Alumni
Luminary Alumni

pfa.

jagannalla
Partner - Specialist III
Partner - Specialist III
Author

Jagan,

I don't want to control the expression outside the chart. B'coz I already the expression fields are depending on other input box variable.

jagan
Luminary Alumni
Luminary Alumni

Hi,

There is no need to control the expressions, you just click on that expression group image, the expression automatically changes and the variable will change, based on the variable you can display the values in the text box.

Hope this helps you.

Regards,

Jagan.