Forum Discussion
Anonymous
5 years agoNot applicable
Expression.Error: We cannot convert the value null to type Number. mysteriously appeared
I'm working in an ERP reporting project and I have relatively complex PBI and PQ set with dozens of tables and processing steps. Everything were fine until yesterday when I started to get error E...
- Anonymous5 years ago
OK, I finally managed to solve this issue. Error message was in the end misleading.
The error "Expression.Error: We cannot convert the value null to type Number" happened already in earlier steps. For some reason it got expanded to all the columns at the later steps.
The root cause was unexpected values in the code list merged in earlier steps.
RobertSlattery
3 years agoResponsive Resident
This happens if there is a step that causes some field in as few as one record to return an error and then a subsequent step does a Grouping that includes the column containing the error result. For example an AddColumn step. To find the issue, use Keep Errors to check the steps that might be returning occasional error values.