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
mmace1
Impactful Individual
Impactful Individual

Dataflows message "Please specify how to connect." when trying to reproduce Get Data > Folder

Hi, 

 

I'm trying to reproduce the Get Data > Folder functionality from PBI Desktop, in Dataflows, using the Blank Query functionality. 

 

I know from the below thread, that I need to reproduce all of the queries / parameters / folders / etc. that I have in PBI Desktop.

 

https://community.powerbi.com/t5/Power-Query/How-to-Combine-Files-in-SharePoint-Folder-with-a-Datafl...

 

PBI Example.JPG

However, when trying in DataFlows, I keep getting a "Please specify how to connect" dialogue for all of my queries.  I enter in my credentials, and it just reappears. 


Please Specify How to Connect.JPGMy Gateway seems otherwise fine - 

I'm able to update datasets using my gateway
I'm able to create a sucessful test dataflow (just connecting to a local .txt. file) fine.


9 REPLIES 9
v-frfei-msft
Community Support
Community Support

Hi @mmace1 ,

 

You should add all the query to the group.

 

Capture.PNG

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
mmace1
Impactful Individual
Impactful Individual

PBI Verxion.JPG

DataFlow Version.JPG

 

 

So I have added the folders.  

Hi @mmace1 ,

 

The sample file parameter is still missing in your scenario. Please check it again.

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
mmace1
Impactful Individual
Impactful Individual

Updated.  So, these 2 are, sorry for my ignorance- the wrong icon, so I assume not being interpreted as the correct type of object? 


Capture.JPG

 


 not being interpreted as the correct type of object? 

 


 

What does that mean?

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Hi @mmace1 ,

 

Has your issue been solved? If so, kindly mark my answer as a solution to close the case. If any other question, feel free to let me know please.

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
mmace1
Impactful Individual
Impactful Individual

Thanks, my last post did still have a question in it.  

v-frfei-msft
Community Support
Community Support

Hi @mmace1 ,

 

Inside the entity we should create groups of queries by right-clicking the "blank field to the left" and pressing new group. The groups should be identical to the groups created in Power BI Desktop.

 

move.PNG

let
  Source = SharePoint.Files("https://xxx.sharepoint.com/sites/asnew", [ApiVersion = 15]),
  #"Filtered Rows" = Table.SelectRows(Source, each ([Name] <> "Capture.PNG")),
  #"Filtered Hidden Files1" = Table.SelectRows(#"Filtered Rows", each [Attributes]?[Hidden]? <> true),
  #"Invoke Custom Function1" = Table.AddColumn(#"Filtered Hidden Files1", "Transform File from Query1", each #"Transform File from Query1"([Content])),
  #"Renamed Columns1" = Table.RenameColumns(#"Invoke Custom Function1", {"Name", "Source.Name"}),
  #"Removed Other Columns1" = Table.SelectColumns(#"Renamed Columns1", {"Source.Name", "Transform File from Query1"}),
  #"Expanded Table Column1" = Table.ExpandTableColumn(#"Removed Other Columns1", "Transform File from Query1", Table.ColumnNames(#"Transform File from Query1"(#"Sample File"))),
  #"Changed Type" = Table.TransformColumnTypes(#"Expanded Table Column1", {{"Source.Name", type text}, {"Date", type date}, {"cat", type text}, {"Sales", Int64.Type}})
in
  #"Changed Type"

data.PNG

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
mmace1
Impactful Individual
Impactful Individual

I think I am, or do you mean, I'm doing that somehow incorrectly, and that's resulting in the "Please specify how to connect" error message? 

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