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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
JofrainVisda
Advocate I
Advocate I

Error: Value should be defined

Hi friends!

I was trying to create a dataflow using an SQL Server Database. I am currently facing this issue below. Could you guys help me find the solution and explain why this is happening?

I have a generic username and password that has access in the database. In PBI Desktop, I was able to connect this exact same datasource with no error.

Thank you in advance!

JofrainVisda_0-1671475468933.png

 

6 REPLIES 6
polmc
Frequent Visitor

I have exactly the same problem...

Anonymous
Not applicable

I have had the same error message while creating a new dataflow from MariaDB. I was not able to esablish the connection with MariaDB nor MySQL datasources. Therefore, I have create a ODBC source.

 

I was able to solve this issue with following steps:

  1. Make sure that on the machine where your Power BI-Gateway is installed you have the respective database driver.
  2. Create a ODBC source locally and in your workspace setting of your workspace
  3. Create localy (on the Power BI-Gateway machine) a pbix file with connection to the ODBC source and test your query.
  4. Create a new dataflow in the workspace using the empty query template.
  5. Paste the localy created M query into the extended editor of the new dataflow.
  6. Try to load data. You will get an error. Set the remote ODBC source of your workspace and try again.

 

Anonymous
Not applicable

@Anonymous Can you explain further on your last step? What do you mean by set the remote ODBC source of your workspace and try again

fernandomoraes
New Member

Same problem
I didn't find a solution

v-xiaosun-msft
Community Support
Community Support

Hi @JofrainVisda ,

 

You can reference the following document which is about using dataflow connector.

Power Query Dataflow connector - Power Query | Microsoft Learn

 

Best Regards,
Community Support Team _ xiaosun

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi,

Thank you for the time. But what I was trying to do is to create a dataflow inside a workspace and the data will be coming from SQL server.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.