Forum Discussion
Anonymous
7 years agoNot applicable
DAX and variant data type
Hi, I'm trying to replicate this excel formula in Power BI =IF([@[Ex Factory Allocated]]="Shipped","Shipped",H2-G2) But when i try and insert a column i get this: My Ex Factory Allo...
AkhilAshok
7 years agoSolution Sage
You could try using a FORMAT function in the else part:
FORMAT([...Requested]-[...Allocated], "General Number")
Anonymous
7 years agoNot applicable
Hi AkhilAshok,
Thank you for your reply! However, it states that there are too few arguments for the FORMAT function.
- Anonymous7 years agoNot applicable
Hi Anonymous ,
I'd like some sample data for test, it will be help for coding formula.
BTW, please check MSDN library for dax format functions, you are typing wrong 'format' expression in 'if' statement.Regards,
Xiaoxin Sheng