Notifications
Announcements
If you are using Power Query, here's how you can combine distinct values from multiple columns:
Unpivot
Ref
Subject_1
Subject_2
Subject_3
GroupBy( Ref, Subject_1, Subject_2, Subject_3, Grouped )
SortByColumns( GroupBy( Ref, Subject_1, Subject_2, Subject_3, Grouped ), "Subject_1", SortOrder.Ascending )
Sort( Distinct( Split( Concatenate( Concat( Ref, Subject_1, "," ), ",", Concat( Ref, Subject_2, "," ), ",", Concat( Ref, Subject_3, "," ) ), "," ), Value ), Value, SortOrder.Ascending )
SortByColumns( Table( Distinct( Ref, Subject_1 ), Distinct( Ref, Subject_2 ), Distinct( Ref, Subject_3 ) ), "Value", If( SortDescending1, SortOrder.Descending, SortOrder.Ascending ) )
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 717 Most Valuable Professional
Michael E. Gernaey 329 Super User 2025 Season 2
Power Platform 1919 268