Wrong behavior on DAX formulas?
hi,
i trying use dax formulas run problems.
here example:
i have following data in powerpivot table named query:
columns are: tsports,ts1 , calculatedcolumn1
the column calculatedcolumn1 contains following fomula:
=mid('query'[tsports],len('query'[ts1])+1,len('query'[ts1]))
it seems me incosistent results returned if 2nd , 3rd parameters go on length of string in parameter 1.
here examples:
1) tsports contains the following value: direct
ts1 contains following value: none
calculatedcolumn1 returns following value: ct --> value expecting.
2) tsports contains following value: le havre
ts1 contains following value: le havre
calculatedcolumn1 returns following value: e --> here problem. given formula expecting empty string!?!?
in case number 2, per understanding, dax formula returning invalid result.
can confirm if bug or if using dax in way not supposed to?
thanks!
hi santiago,
i reproduced behavior using ctp 3 , have filed report of behavior development group.
regards,
john desch
SQL Server > Power Pivot
Comments
Post a Comment