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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Copying a query (or a folder of queries) on dataflow

Hi,

 

I am having problems with copying queries on dataflow:

 

What I am trying to acheive is:

1) On the queries pane, select a query or a group of queries

2) Ctrl + C

3) Ctrl + V either in the same dataflow or in a different dataflow

 

This works for some queries, but not others (with same source but different steps). When it doesn't work, I get the message "We could not find queries in your clipboard".

 

Is the option to use the copy and paste shortcut only available to some queries but not others? I know I can copy from advance

 

An example of a query that does work:

 

let
Source = OData.Feed("link to sonarQube data", null, [Implementation = "2.0"]),
#"Navigation 1" = Source{[Name = "teams", Signature = "table"]}[Data],
#"Remove columns" = Table.RemoveColumns(#"Navigation 1", Table.ColumnsOfType(#"Navigation 1", {type table, type record, type list, type nullable binary, type binary, type function})),
#"Added custom" = Table.AddColumn(#"Remove columns", "Portfolio", each "Baggage Management"),
#"Transform columns" = Table.TransformColumnTypes(#"Added custom", {{"Portfolio", type text}}),
#"Replace errors" = Table.ReplaceErrorValues(#"Transform columns", {{"Portfolio", null}})
in
#"Replace errors"

 

 

 

An example of a query that didn't work:

 

let
Source = OData.Feed("link to sonarQube data", null, [Implementation = "2.0"]),
defects_table = Source{[Name = "defects", Signature = "table"]}[Data],
#"Removed other columns" = Table.SelectColumns(defects_table, {"creation_time", "id", "servicenow_id_udf", "area_path_ado_udf", "iteration_ado_udf", "has_attachments", "migrated_closing_date_udf", "repro_steps_udf", "committed_comments_udf", "rca_udf", "has_comments", "migrated_creation_dat_udf", "name", "target_fix_date_udf", "description", "closed_on", "committed_closure_dat_udf", "ado_id_udf", "parent", "release", "phase", "user_tags", "defect_origin_udf", "attachments", "linked_items1", "defect_source_udf", "responsible_team_udf", "run", "defect_type", "test", "author", "application_modules", "test_type_udf", "severity", "requirements"}),
#"Added custom" = Table.AddColumn(#"Removed other columns", "Portfolio", each "Communications & Data Exchange"),
#"Transform columns" = Table.TransformColumnTypes(#"Added custom", {{"Portfolio", type text}}),
#"Replace errors" = Table.ReplaceErrorValues(#"Transform columns", {{"Portfolio", null}}),
#"Remove columns" = Table.RemoveColumns(#"Replace errors", Table.ColumnsOfType(#"Replace errors", {type table, type record, type list, type nullable binary, type binary, type function}))
in
#"Remove columns"

 

Thank you!

1 ACCEPTED SOLUTION
edhans
Super User
Super User

You should probably open a support ticket with MS on this as that appears to be a bug caused by something specific to that query. There should be no restrictions as to what can/cannot be copied and pasted like that. You will need to have at least a Pro license, and can open a ticket at the bottom of this page - Support | Microsoft Power BI



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

View solution in original post

2 REPLIES 2
edhans
Super User
Super User

You should probably open a support ticket with MS on this as that appears to be a bug caused by something specific to that query. There should be no restrictions as to what can/cannot be copied and pasted like that. You will need to have at least a Pro license, and can open a ticket at the bottom of this page - Support | Microsoft Power BI



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting
Anonymous
Not applicable

Thank you for the advice, will do so!

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.