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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
hoosha_11
Helper I
Helper I

Table.Distinct and Table.Group breaks query folding

Hi,

 

I'm using Table.distinct to remove duplicates from a column in a table but query folding breaks, even if I remove duplicates in the last step. The transformation process is quite simple, with only four steps. Even using Table.Group and "Count Distinct Rows" =1 breaks the fold. 

Any idea how I can maintain query folding after removing duplicates from a column?

 

Thanks!

1 REPLY 1
lbendlin
Super User
Super User

what's your data source? Consider using Value.NativeQuery and indicate that folding should be used.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

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.