Forum Discussion
Expressions that yield variant data-type cannot be used to define calculated columns.
- Anonymous8 years ago
Hi sureshdam18,
I think you are try to use both number value and text value in one calculate column so power bi can't auto analysis data type of this calculated column.
Maybe you can try to use 0 to replace "" part to keep similar data type or modify the column type to text.
Column= IF ( AND ( [Completion Status] = "Open", [Status] = "MD Ops Review - Delete" ), Sheet1[NET_DAY], 0 )Regards,
Xiaoxin Sheng
Hi sureshdam18,
I think you are try to use both number value and text value in one calculate column so power bi can't auto analysis data type of this calculated column.
Maybe you can try to use 0 to replace "" part to keep similar data type or modify the column type to text.
Column=
IF (
AND ( [Completion Status] = "Open", [Status] = "MD Ops Review - Delete" ),
Sheet1[NET_DAY],
0
)
Regards,
Xiaoxin Sheng
- sureshdam188 years agoFrequent Visitor
Hi Anonymous
Thanks For the Replay,
Issue is Resolved.
Regards,
Suresh
- PowerBINewbie_18 years agoHelper I
Hi,
I get the same error with today(), Any suggestions on how to fix this error?
cDate = IF([SharePointColumnD]="","",
IF([ICColumn]="",NOW(), [ICColumn])) - ssvr7 years agoHelper III
How about my case ?
Please suggest me
[Expressions that yield variant data-type cannot be used to define calculated columns.]
truecondiation = IF(ISM[OData_{CH} Recommend0]=BLANK(),ISM[OData_{RNSP} TSS_x00],ISM[OData_{CH} Recommend0])
- ritanoori6 years agoResolver I
Thanks- I had the same issue and it was solved.
- Anonymous2 years agoNot applicable
Hi,
May I ask how did you solve the issue?
- Premium3 years agoFrequent Visitor
so how can i do it ?