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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Anonymous
Not applicable

Power Query: DISTINCT COUNT in GROUP BY on table not working

Hi guys, 

 

i want to group a table in power query by the column "DIM_ID_ARTIKELGROESSE". I want to summarize the other columns with "Count Rows" or "Count distinct rows".

 

My problem is that i can not select any of the columns i want to summarize in the drop down next to Opertion. 

Unbenannt.JPG

 

However if select a different Operation such as "Min" i can select the other columns:

2.JPG

Thanks for any tips!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

As far as I know, "Count Rows" or "Count distinct rows" should distinct count all other rows grouped by "DIM_ID_ARTIKELGROESSE".

So when the Group by function selects Count-related operations, Column will not display columns, but will directly affect all rows. When operations such as SUM, AVG, etc. are selected, they will be displayed.

vrzhoumsft_1-1682933811752.png

For reference: Grouping or summarizing rows

 

Best Regards,
Rico Zhou

 

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
Anonymous
Not applicable

Hi @Anonymous ,

 

As far as I know, "Count Rows" or "Count distinct rows" should distinct count all other rows grouped by "DIM_ID_ARTIKELGROESSE".

So when the Group by function selects Count-related operations, Column will not display columns, but will directly affect all rows. When operations such as SUM, AVG, etc. are selected, they will be displayed.

vrzhoumsft_1-1682933811752.png

For reference: Grouping or summarizing rows

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors