Skip to main content

Power BI

Needs Votes

Bug when changing table to SQL statement: Expression Error.: The key didn't match any rows in the table

Vote (1) Share
Martin's profile image

Martin on 06 Sep 2017 15:41:48

Bug:
you get the error:
Expression Error.: The key didn't match any rows in the table

if you:
connect to a database
select any table and load it
click home - edit queries
click source under applied steps
click advanced options in the popup
type SQL statement e.g. select * from [yourtablename]
click ok
click close and apply
You now see the error above (Expression.Error: The key didn't match any rows in the table)

Solution
click home - edit queries
under applied steps, remove navigation
click close and apply
The error is fixed, but the user shouldn't have to do these last steps