Skip to Content

FilterLine is blanked when setVariableValue run to change currency

Mar 13 at 01:33 PM


avatar image

I am using Lumira 2.1 Designer and trying to move our Sales Dashboard from DS 1.6 to Lumira 2.1.

I have an icon that allows users to change the currency of the dashboard. It runs the script

APPLICATION.setVariableValue("ZCM_O147", ACTION_SHEET_CURRENCY.getSelectedValue());

When this runs, the FilterLine is blanked

Has anyone run into this issue?

thank you

10 |10000 characters needed characters left characters exceeded

Could something else in the application be causing this? Perhaps share a screen shot? Use the image icon to upload

* Please Login or Register to Answer, Follow or Comment.

1 Answer

James Vaillancourt Mar 16 at 12:15 PM

Tammy, you got me thinking so I went back to a blank application and started to add functionality until the error occurs.

It works, then doesn't work. I tried to attach a PDF that shows simply an icon, an action sheet, filterline, and two cross tabs.

In this instance, the calculated columns (in form of A minus B, and percent difference between A and B) in the data source lose their scaling factor and decimal point formats when the currency is changed.

There are four lines of code in this simple example and the currency alters the display. Any suggestions.

10 |10000 characters needed characters left characters exceeded