Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi experts,
I'm getting this strange error in Excel Power Pivot:
Expressions that yield variant data-type cannot be used to define calculated columns.
Now if I look at the columns that have this error, the formula is simple:
IFERROR([NTK], 0)
However in my case [NTK] column is all empty, and when I check the imported data all columns have "General" type but only NTK has this problem. Other columns have empty cells too so I don't think that's the problem.
I really have no idea what to do about this weird thing, but alas I cannot upload my Excel file, and a dummy file probably won't work out.
Solved! Go to Solution.
Hi @markus_zhang,
This error prompts when there existing two different data types in formula. In your scenario, you used both number value (zero 0 ) and text value ( [NTK] ) in single column.
You can replace the 0 with BLANK() or "" to avoid such an error.
Best regards,
Yuliana Gu
Hi @markus_zhang,
This error prompts when there existing two different data types in formula. In your scenario, you used both number value (zero 0 ) and text value ( [NTK] ) in single column.
You can replace the 0 with BLANK() or "" to avoid such an error.
Best regards,
Yuliana Gu
Hi I figured it out,
=[NTK] works but =IFERROR([NTK], 0) doesn't work, weird...
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
72 | |
71 | |
37 | |
31 | |
27 |
User | Count |
---|---|
91 | |
49 | |
45 | |
38 | |
36 |