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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Djordje_M

A small contribution towards a better user experience

When using the connectors that would pull your data from the source and present them into Power BI, it can happen that you will get no file, or the file with the empty results, whether it is in JSON or CSV format.

 

Users will get a very vague and confusing message that something went wrong. To avoid confusion, we can put a piece of code and test if we have our data pulled and, if not, show the message of our choice. A great example of that you can see in Windsor.ai templates like this one shown in the image.

 

NotFoundPBI.jpg

 

If you download the .pbit file and connect your data, you can see the code itself using an advanced editor in the Power BI Desktop application. That way, we can eliminate the endless questions from our users, point them to solve the problem by themselves, use help pages, etc. That is a relief, isn't it?