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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
hansei
Helper V
Helper V

Intellisense / Auto Complete Stopped Working

I recently uninstalled the store version of PBI desktop to install the direct download version (because I wanted the drag-drop re-order which is not available in the store version). Latest version revision {553CCBE1-56C5-4CF7-BE8D-0AD37CA36E6F}

 

Intellisense was working fine for a few days, and then became sporadic. Now, it almost never gives the auto-complete for variable/line names. And it rarely shows the matches among built-in functions. e.g. here I would expect table.re to give Table.RemoveColumns among other entries, but it doesn't.

 

intellisense.png

 

Reinstalled without any affect whatsoever. Turned off Intellisense, restarted, turned on, restarted, and no effect. Is there some cache or some trick someone has for this?

 

1 ACCEPTED SOLUTION

So, I've isolated the problem. Intellisense and auto-complete fail as soon as a 'try' is created without 'otherwise'.

 

e.g. if you add line 11 from this example anywhere in any query, the feature is broken in all queries.

 

textUnitPrice = try Number.ToText(Sales[UnitPrice])

View solution in original post

5 REPLIES 5
hansei
Helper V
Helper V

It seems that the problem is isolated to a single .pbix file. Others are working fine. Saving a copy (via PBI or Explorer) does not fix the issue. I tried to delete the internal Metadata file, but that made no difference either. Interestingly, Metadata was not even re-created after deletion. Any ideas other than recreating every query? 

 

2019-08-29.png

So, I've isolated the problem. Intellisense and auto-complete fail as soon as a 'try' is created without 'otherwise'.

 

e.g. if you add line 11 from this example anywhere in any query, the feature is broken in all queries.

 

textUnitPrice = try Number.ToText(Sales[UnitPrice])
v-diye-msft
Community Support
Community Support

Hi @hansei ,

 

Please kindly refer to below posts for advice:

https://stackoverflow.com/questions/13982526/why-does-intellisense-and-code-suggestion-stop-working-...

https://stackoverflow.com/questions/12095102/intellisense-auto-complete-stops-working-on-vs2008

 

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

I fail to see the connection between my question about the latest Power BI Desktop and some suggestions for a 7 year old version of Visual Studio.

 

Hi @hansei ,

 

Based on my test, i cannot reproduce the same issue as you said. Above are some articles for your reference, hopefully give you some hits about the M code.

If does not help, you may submit a support ticket.https://powerbi.microsoft.com/en-us/support/

Support Ticket.gif

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.