Skip to main content
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

DirectQuery for Power BI datasets and Analysis Services: Error Message

I have just upgraded to the December 2020 release to test out the 'DirectQuery for Power BI datasets and Analysis Services' preview feature.


After connecting to my Dataset and then attempting to connect to a new data source I receive the following error message when adding the dataset as a local model:


"DirectQuery to AS - DW Common BI Model
The given key was not present in the dictionary."
Status: New
Frequent Visitor

I am also getting this error message. Any fixes?

Not applicable

I am also getting this error.

Not applicable

I also had this problem.
It happens when you have in the dataset tables without columns, only measures.

To workaround it I added a dummy column to those tables.

Not applicable

@Anonymous Wow, that's a great shout. I definitely have a table with just measures. I'll test that tomorrow and let you know if it resolves my issue. Thanks

Community Support



To help improve Power BI, you may leave feedback at this Power BI Community forum post.

Not applicable

@Anonymous This works, thank you so much.

Microsoft Employee

this issue was fixed in Power BI Desktop version 2.88.702.0 which was released today. Please test it and close this issue 🙂

Regular Visitor

Thank you ¡¡¡

Not applicable

I'm receiving this error now in the latest power bi desktop update but has nothing to do with tables with no columns - none of the provided solutions have any relevance (brand pack for the power bi service, windows update, outdated power bi desktop). I've been using Power Bi and never received this issue.

Can this be caused by the latest desktop update in November?

Frequent Visitor

@Anonymous did you ever get this figured out? I'm having a similar prob.