Forum Discussion
MAX function with Text column doesn't work in Live Connection SSAS Tabular
Very strange.
Yes, It is very strange.
I cannot figure out any clue at all that can make different work.
- Anonymous6 years agoNot applicable
Could you please review below DAX expression.
TEST_:=
IF(LASTNONBLANK('FactPayment'[Category], "SUM_PAY_AMT_KRW") , [Payment_KRW (AS-IS)],BLANK())It makes error in SSAS tabular.
Thanks in advance.
- Anonymous6 years agoNot applicableIf you are sure that in the context there'll be only one value anyway... why not use SELECTEDVALUE?
Best
D- Anonymous6 years agoNot applicable
Anonymous
Do you have experience that worked the SELECTEDVALUE function in SSAS?
Do you mean my expression:
TEST_:=
IF(MAX('FactPayment'[Category], "SUM_PAY_AMT_KRW") , [Payment_KRW (AS-IS)], BLANK())change into like below...?
IF(SELECTEDVALUE('FactPayment'[Category], "SUM_PAY_AMT_KRW") , [Payment_KRW (AS-IS)], BLANK())
I do not have any knowledge with the function, if my expression with SELECTEDVALUE is wrong, please correct it.
I tried MAX, LASTNONBLANK, FIRSTNONBLANK... but all of the function made error in SSAS...