Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Qlikview Community,
how can i put the selected value from field to pass in to my formula ? [*-)] Please see screenshot !
Thank you very much [8-|]
Best Regards,
..this should go (with no quotes):
= 'Totalprice (TOTAL) PLAN: ' & sum ({1< [HEL_DATA_Datum > YEAR] = {$(=GetFieldSelections([HEL_DATA_Datum > YEAR]))} >} SAL_OPPORTUNITYLINEITEM_TotalPrice )
- Ralf
Hi,
You can just include the file name or use it with another function like Only() or Max(), so you have something like this:
sum({1<[YEAR]={'$([YEAR])''}>} TotalPrice)
or
sum({1<[YEAR]={'$(max([YEAR]))''}>} TotalPrice)
Hope this helps
Regards!
Hi Gabriela,
it did not work But thank you for help
the expression: GetFieldSelections( fieldname) returns a string containing the current selections in a given field.
looks like that function should help you out.
Chris
Hi Chris,
do you mean in that way:
=sum ({1< [YEAR] = { GetFieldSelections( [YEAR] ) } >} TotalPrice ) ?
This wont work too
Regards,
does the following statement work:
=sum ({1< [YEAR] = {'$(=GetFieldSelections(" [YEAR]" ) '} >} TotalPrice )
If not, please attach an example file.
Chris
Onur,
your field name is a bit confusing... try this:
=sum ({1< [HEL_DATA_Datum > Year] = { GetFieldSelections( [HEL_DATA_Datum > Year] } >} TotalPrice )
- Ralf
Hi Chris,
thank you for helping me. Unfortunately it didnt work again. Here are my qvw file. It is the Textfield under the textfield "Total Price PLAN".
Thank you again.
Hi Ralf,
hmmm, unfortunately with no effect to the textfiled.
Best Regards,
Onur
..this should go (with no quotes):
= 'Totalprice (TOTAL) PLAN: ' & sum ({1< [HEL_DATA_Datum > YEAR] = {$(=GetFieldSelections([HEL_DATA_Datum > YEAR]))} >} SAL_OPPORTUNITYLINEITEM_TotalPrice )
- Ralf