Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Not applicable

Expression in Sense and Engine API give different results

Hi all,

so, I've got an app, and if I add a 'text & image' object and set the text as using a measure as '=ReloadTime()', I get this:

26/08/2014 08:38:47.

However, when using the engine API, using the 'CreateSessionObject' method, I supply this parameter fragment:

"params": [{

            "reloadTime": {

                "qStringExpression" : "=ReloadTime()"

            },

            "qInfo": {

                "qId": "",

                "qType": "Listbox"

            }

        }]

When I examine the result using a 'GetLayout' call, I get the result as follows:

9/1/2014 1:19:40 PM

I can't really explain the difference since the expression is the same. It's not a format issue, since the dates and times are completely different.  Any ideas?

Thanks a lot for looking,

Shane.

Tags (2)
1 Solution

Accepted Solutions
Not applicable

Re: Expression in Sense and Engine API give different results

The change in dates looks like you have done a reload between your tests, is this the case?

Does the measure have any special formatting applied to it?

3 Replies
Not applicable

Re: Expression in Sense and Engine API give different results

Is it the same app? or the same client machine?

Not applicable

Re: Expression in Sense and Engine API give different results

The change in dates looks like you have done a reload between your tests, is this the case?

Does the measure have any special formatting applied to it?

Not applicable

Re: Expression in Sense and Engine API give different results

Sorry I've not replied - I'm on holiday at the moment, and have just checked my machine.

It is the same app, and the same client machine.  They were the details the other day...

However, as I've restarted my machine and restarted things completely, the data is now the same.

thanks for your replies though.

Shane.

Community Browser