I am attempting to create a custom column with the following formula:
Job = If(Len('UMC Safety Incident Log'[Project Number]=4),"0"&'UMC Safety Incident Log'[Project Number]&"-", 'UMC Safety Incident Log'[Project Number]&"-")
I get the error "DAX comparison operations do not support comparing values of the type Text with values of type integer. Consider using the VALUE or FORMAT function to convert one of the values."
Len is supposed to return a Whole Number. Why is this throwing an error? How is it supposed to be formatted?
Go to Solution.
View solution in original post
Learn how to create your own user groups today!
Click here to read more about the October 2021 Release!
Check out the new Power Platform Community Connections gallery!
Mark your calendars and join us for our next Power BI Dev Camp!