Hi all,
I'm trying to automatize financials formulas.
They are in Power Bi DAX code and stored into a SQL database server.
So, I've created this measure :
AutoFin = CALCULATE(VALUES(tbl_cusformula[cusformula_value]); tbl_cusformula[cusformula_description] = "AutoFin")
The result of the CALCULATE function returns my formula :
(CALCULATE(SUM('GLEntryDW'[Amount]); 'GLEntryDW'[GLAccountNo2]="10") + CALCULATE(SUM('GLEntryDW'[Amount]); 'GLEntryDW'[GLAccountNo2]="14") ...........
But it doesn't work.
I think Power Bi interpates the result as a text.
If I copy/paste this result into a new measure it's working.
Does someone has any idea to make this working ?
Thanks a lot.
Regards