Expression in Use Dynamic data key in report module

Hi

In Report Module how can we write a simple if expression in Property Inspector when using Use Dynamic data key?

For example following expression doesn’t work and i want simple if statement:

if(key1 = 1, True, False)

I would suggest a statement like this for simplicity:

key1 == 1

Or if you want to manually choose the possible outputs, I would suggest the following:

key1 == 1 ? true : false

If you have more questions about using Dynamic data keys in the Report Module, try the following video:

Use Dynamic Data Key Video at Inductive University

2 Likes

The reporting engine uses a totally different "expression" mechanism, so the syntax is totally different.

It seems the key name that including space doesn’t work in expression:

[key 1] == 1 ? true : false

{key 1} == 1 ? true : false

@key 1@ == 1 ? true : false

I believe you put the entire expression inside the @, @key 1 == 1 ? true: false@

No it is not working. I can’t find any document for dynamic key expression syntax in manual.

1 Like

So, how should I write our keys in the expression if there is space in the key name?

I check all of the syntax and none of them work for me.

It seems like the answer is "don't use keys with spaces" - I don't see any way to 'escape' them:

6 Likes