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
richard-powerbi
Post Patron
Post Patron

Table.Distinct performance question

So there's the function:

Table.Distinct(table as table, optional equationCriteria as any) as table

If i do not fill in the optional equationCriteria, I notice that when refreshing the query, the number of rows in the little refresh window goes up to the full amount of rows of the table.

If I do fill in the optional equationCriteria and specify a column, the number of rows is equal to the number of distinct values in that column.

Is there is performance difference? Does it actually load more rows for a short moment in time when not specifying the optional equationCriteria?

 

 

3 REPLIES 3
v-eachen-msft
Community Support
Community Support

Hi @richard-powerbi ,

 

Do you get the same table after these two tests?

If equationCriteria is not specified, all columns will be tested.

 

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

@v-eachen-msft yes the same table is returned. I understand that all columns will be tested, but I don't understand the difference in rows being (temporarily?) loaded? After the refresh finishes only the distinct rows are loaded though.... Maybe it's just a bug in the loading windows? Or is there something going on?

Anyone?

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