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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
RayL
Advocate I
Advocate I

How to view distinct values in a column?

 

Is there a way to view distinct values in a column (so that i can decide whether to keep/transform/delete this column)?

 

I don't see such an option in Query Editor > View

 

Thanks!

1 ACCEPTED SOLUTION
ElenaN
Resolver V
Resolver V

Hello,

 

Do you need just to see the distinct values or you want a code to list them somehow or to make a count of duplicates if any?

 

If you just want to see distinct values of a column you can click on the down arrow of a column and it will show you, just like in Excel, a list of all distinct values. Another "viewing" option would be to do a Group by in Power Query by your column that will give you a list of all distinct values.

 

Otherwise, you have to be more specific about your needs.

 

Regards,

ElenaN

View solution in original post

2 REPLIES 2
ElenaN
Resolver V
Resolver V

Hello,

 

Do you need just to see the distinct values or you want a code to list them somehow or to make a count of duplicates if any?

 

If you just want to see distinct values of a column you can click on the down arrow of a column and it will show you, just like in Excel, a list of all distinct values. Another "viewing" option would be to do a Group by in Power Query by your column that will give you a list of all distinct values.

 

Otherwise, you have to be more specific about your needs.

 

Regards,

ElenaN

It worked. Thank you Elena for helping out a newbie 🙂

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

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