Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have a table that has 3 columns PlaceOfOrigin, PlaOfDelivery & UltimateDestinations. Values in these columns are US States. There are other Columns as well in total 7
How can I create a new Table for a filter that has the list of All the Unique states from these three columns?
Solved! Go to Solution.
Hi nssidhu,
maybe the UNION in combination with VALUES will help you.
=UNION(VALUES([Origin]),VALUES([Delivery]),VALUES([Destination]))
This should bring you the "virtual" table for further processing. e.g. Filter.
Hi nssidhu,
maybe the UNION in combination with VALUES will help you.
=UNION(VALUES([Origin]),VALUES([Delivery]),VALUES([Destination]))
This should bring you the "virtual" table for further processing. e.g. Filter.
A Power Query (M) solution:
let
Source = Input,
TableWithUniqueValues =
Table.FromList(
List.Distinct(Source[PlaceOfOrigin]&Source[PlaOfDelivery]&Source[UltimateDestinations]),
null,
type table[State = text])
in
TableWithUniqueValues
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.