Forum Discussion
QUERY ISSUES: Expression.Error: We cannot convert the value null to type Logical.
Anonymous When you are creating "Duns DISTI INC EXCL", is that datatype being set to logical? Maybe instead of setting the else as "Exclude" you should change that to null. If it is taking your "Y", "N" and setting to logical, then the "Exclude" text value will break that prior to your type transformation.
#"Custom Field Inc Duns / Disti" = Table.AddColumn(#"Merged Queries", "DUNS DISTI INC EXCL", each if [#"Acc.Include?"]="Y" or [#"PAP.Include?"]="Y" or [#"SP DUNS.Include?"]="Y" or [Disti Inc YN]="Y" then "Y" else "EXCLUDE"),
Anonymous
I had it formatted as text but I will try that!
- Anonymous7 years agoNot applicable
Made some progress, it seems that my suspicion that the conditonal column started all the errors held true... I went about it a different way (a better way in hindsight) and now im just back the usual time out errors and web contents errors :P
Thanks for the advice!