Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metric Description Does Not Interpret Variables and Functions #4

Open
otaviomarco opened this issue Apr 30, 2019 · 2 comments
Open

Comments

@otaviomarco
Copy link

I have variables and functions in my metric description, for example:

Soma do valor bruto das transações em M-0

I modified the extension to concatenate the complete expression, being as follows:

description = "='" + row.cells[1].qText + "' & chr(10) & 'Expressão: " + row.cells[3].qText + "'";

The value of row.cells[3].qText is: row.cells[3].qText is:

Sum({<[Transação.Data.Período] = {"$(=Date(AddMonths(MonthStart(Max([Transação.Data.Simples])), -0 ), 'YYYY-MM'))"}>}[Valor Bruto])

But when I run the "Create Measure" extension, it does not interpret as functions and variables, keeping a string literal. The Qlik you will interpret when entering the metric and clicking save.

Is there any form of correction?

The output of the above case would be:

Soma do valor bruto das transações em M-0
Expressão: Sum({<[Transação.Data.Período] = {"2019-04"}>}[Valor Bruto])

Thanks!

@caiocaminoski
Copy link

We have the same problem here. Any ideas?

@GINQO
Copy link
Owner

GINQO commented Aug 2, 2019

Hi, i'm looking at creating a new version of the Master Item Manager very soon. We'll make sure to patch this issue then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants