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: 
Not applicable

Dynamic definition of expression in chart based on selected field

Hi,

I'm trying to define an expression based on a field selection which contains the appropriate formula.

Is there a way that the expression retrieves the field value and understand it as a formula and not as a simple text value?

see the example attached.

Thanks in advance for the feedback.

1 Solution

Accepted Solutions
lironbaram
Partner - Master III
Partner - Master III

hi

attach is a solution to your question

hope it helps

View solution in original post

5 Replies
lironbaram
Partner - Master III
Partner - Master III

hi

attach is a solution to your question

hope it helps

Not applicable
Author

Excellent!

Thanks a lot.

Not applicable
Author

Hi

I have a similar problem; I'd like to have the Expression (KPI) in a field of the Product table and have a KPI "Product dependent".

i.e.

Product1, SUM(....) * 2

Product2, SUM(...) * 0.5

Have you a suggestion?

Thanks in advance

NM

Not applicable
Author

Hi

I have almost same problem, but this solution does not fully work.

http://community.qlik.com/forums/p/31339/120567.aspx#120567

Any ideas?

Best Regards, Jerrik

Not applicable
Author

Sorry, did not suggest it as a qsolution.

Nama, why store the expression by product. Why not store the value you want to multiply by.

i.e.

product_table

Product1, Factor1

Product2, Factor2

and then calculate

Product, Sum(..)*Factor