Forum Discussion
Expression.Error: The index cannot be negative
Hi Zoru ,
The error message suggests that a list is being accessed with an index of -1, which is invalid. Review any steps in your query that involve list indexing or operations that might result in a negative index.
Ensure that the columns specified in the function exist and contain the expected data. A mismatch or unexpected null values could potentially lead to issues.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum -- China Power BI User Group