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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

dataset pointing to dataflow: data source can't be refreshed because the credentials are invalid

I've created a dataflow connecting to a web API (https://jsonplaceholder.typicode.com/) and it works and refreshes ok

In Power BI Desktop I connect to this dataflow, create a report and publish to PowerBI Service.

In Power BI service I try to change the dataset's data source credentials to point to the dataflow, but I get:

 

 

Your data source can't be refreshed because the credentials are invalid. Please update your credentials and try again.

 

 

And when I try to update the credentials, this is what I get:

rodbs_0-1624623818854.png

 

Shouldn't I be prenseted the option to choose the dataflow as data source for this dataset?

How can I point this dataset to the dataflow that retrieves data from a web API? Thx

 

 

1 ACCEPTED SOLUTION
v-luwang-msft
Community Support
Community Support

Hi @Anonymous ,

For now, we can connect dataflow in Power BI Desktop and then upload the report to Service.And It is not supported to create dataset using dataflow in Service directly. refer : https://community.powerbi.com/t5/Service/Create-Dataset-from-Dataflow-FROM-WITHIN-THE-SERVICE/m-p/1099589 

 

And about this error ,I think you need to configure gateway.According your provide ,I have a test:

Step1,configure dataflow,save and close:

vluwangmsft_0-1625018942290.png

vluwangmsft_1-1625018991438.png

 

 

Final get datafolw:

vluwangmsft_2-1625019035763.png

 

Step 2, get data use Power BI desktop(lastest version),then publish:

vluwangmsft_3-1625019091917.png

Final configure credentials,successful!

vluwangmsft_4-1625019196250.png

Wish it is helpful for you!

 

Best Regards

Lucien

View solution in original post

1 REPLY 1
v-luwang-msft
Community Support
Community Support

Hi @Anonymous ,

For now, we can connect dataflow in Power BI Desktop and then upload the report to Service.And It is not supported to create dataset using dataflow in Service directly. refer : https://community.powerbi.com/t5/Service/Create-Dataset-from-Dataflow-FROM-WITHIN-THE-SERVICE/m-p/1099589 

 

And about this error ,I think you need to configure gateway.According your provide ,I have a test:

Step1,configure dataflow,save and close:

vluwangmsft_0-1625018942290.png

vluwangmsft_1-1625018991438.png

 

 

Final get datafolw:

vluwangmsft_2-1625019035763.png

 

Step 2, get data use Power BI desktop(lastest version),then publish:

vluwangmsft_3-1625019091917.png

Final configure credentials,successful!

vluwangmsft_4-1625019196250.png

Wish it is helpful for you!

 

Best Regards

Lucien

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors