Forum Discussion
Parsing issues with calculation
- 7 years ago
Hi Anonymous,
Again, please check this one.
Column 2 = IF ( IF ( Table1[Current Location] = "sold" || Table1[Current Location] = "Factory", TRUE (), FALSE () ) = FALSE (), "NA", IF ( Table1[Est delive dt] < DATE ( 2018, 09, 18 ), "Data Unavailable", "" & CALCULATE ( MIN ( Table1[Est delive dt] ), ALLEXCEPT ( Table1, Table1[Current Location] ) ) ) )Also please find the file attached.
Regards,
Frank
Hi Anonymous,
Again, please check this one.
Column 2 =
IF (
IF (
Table1[Current Location] = "sold"
|| Table1[Current Location] = "Factory",
TRUE (),
FALSE ()
)
= FALSE (),
"NA",
IF (
Table1[Est delive dt] < DATE ( 2018, 09, 18 ),
"Data Unavailable",
""
& CALCULATE (
MIN ( Table1[Est delive dt] ),
ALLEXCEPT ( Table1, Table1[Current Location] )
)
)
)
Also please find the file attached.
Regards,
Frank
Your new calculation by logic should work but i dont know why it is still showing the parsing error.
I see that the date is converted into string by using ""
- v-frfei-msft7 years agoCommunity Support
Hi Anonymous,
Do you mean when you create the column using the formula as I offered you got this error message? Or do you want to do some calculation using the calculated Column? As you know, it is a text column, so you cannot do that.
Regards,
Frank
- Anonymous7 years agoNot applicable
Hi Frank,
The calculation that you offered shows this error.
- v-frfei-msft7 years agoCommunity Support
Hi Anonymous,
That should be the issue of your column [Est delive dt], that should be in the format of date. Please change the data type of the column and try again, if it doesn't work, Could you please share your pbix to me?
Regards,
Frank
- Anonymous7 years agoNot applicable
Hi Frank,
This worked perfect now.
Thanks a ton.
Also just wanted to know since the highlighted info is repeated twice, can I "group by" this info ?