Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Friends,
I have on list box which is single value selection only.
once user will select one value from this list box,
i would need to pass this value to set expression and
also assign this value to variable ?
How we can do this in QV ?
Variable definition:
=Only(FieldName)
Set expression (though it's unclear how your set expression looks like and where you want to use the variable), just as example:
=Sum({<Month = {"<=$(=Only(FieldName))"} >} Sales)
I think it would be better if you give more details (may be a sample) so that we can help you with a better helpful answer.
Hi,
To get value from listbox use
=Only(FieldName)
In expression
=Sum({<FieldName= {"$(=Only(FieldName))"} >} MeasureName)
Hope this helps you.
Regards,
jagan.
BTW, only() is the default function. So you can simplify your expression as
=Fieldname
Rob
Thanks for your help.