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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
bhanunadendla
Frequent Visitor

Issue with group by option in Transform Data/Edit query settings

Issue with group by option in Transform Data/Edit query settings.

When i use this option, I get to choose between Count Distinct rows vs Count Rows. 

For some reason both these otpions giving same result. For some reason Count distinct is not wokring as expected.

 

As an alternate, I use New table to create Aggregate with count distinct but that won't allow to merge with any exiting tables as it won't show up in merge option.

2 REPLIES 2
amitchandak
Super User
Super User

@bhanunadendla ,Just check you are not doing count distinct on the unique column. If all values are unique then it will be same.  Share more information(Step you done) and data to test.

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

The unique identifier fort hat table is say combination of column A, B and C

when i want to do grouping, I am using count distinct column A along other columns like X and Z bcasue column A alone is not distinct.

In group by feature you ahve both distcint and regualr counts  but both gave me same result. 

 

I follwed workaround by using Table creation instaed group by which increased my development time. I wish this feature works as expectd.

 

thank you,

Bhanu

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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