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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
dm1904
Helper I
Helper I

Dataflow Merge and Aggregate

Hello, I have merge two tables together in a datafow. When I try to expand the resulting column I do not get the option to 'Aggregate' like I would do in desktop. I've tried adding the below as a custom step in the dataflow

 

= Table.AggregateTableColumn(#"Merged queries 1", "Planned Dates", {{"DOCUMENT FILE NAME", List.NonNullCount, "Count of DOCUMENT FILE NAME"}})

 

But get this message "Expression.Error: The name 'Merged queries 1' wasn't recognized. Make sure it's spelled correctly."

 

What am i doing wrong? Many thanks

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

Hi @dm1904 

I can make it work on Power Query Web part.

Capture16.JPGCapture17.JPG

Please check if #"Merged queries 1" is the last step name in your scenario.

 

Or you could take the following as a workaround:

1. merge queries,

2. expand the value from another table

3. groupby the table as below

Capture18.JPG

 

 

Best Regards
Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-juanli-msft
Community Support
Community Support

Hi @dm1904 

I can make it work on Power Query Web part.

Capture16.JPGCapture17.JPG

Please check if #"Merged queries 1" is the last step name in your scenario.

 

Or you could take the following as a workaround:

1. merge queries,

2. expand the value from another table

3. groupby the table as below

Capture18.JPG

 

 

Best Regards
Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.