March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I am dealing with a client's contact list excel file from Marketo, and have appended additional contacts to the file in the same format as the client's list - I did this in the original Excel. In query editor I am trying to add conditional columns based on campaign names - "If Campaign Name=X, Campaign Description = Y." The Campaign Name in the new records I appended to the excel file are identical to the ones that were already in the client's file. But in the rows containing my additional contacts, I am getting this error in the new conditional column field:
Expression.Error: We cannot convert the value null to type Logical.
Details:
Value=
Type=Type
What is causing this error and how can I resolve it?
Hi @m_pat
How did you add the conditional column?
Please refer to the blog how to add a conditional column.
If you write code in Advanced editor, please share it and tell me your final needs.
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Can you share some sample data or the query where the error appears?
Also, try deleting the change type and creating the calculated column prior to assigning types within the query.
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
21 | |
16 | |
13 | |
12 | |
9 |
User | Count |
---|---|
36 | |
31 | |
20 | |
19 | |
17 |