Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 22 | |
| 21 | |
| 21 | |
| 20 | |
| 13 |
| User | Count |
|---|---|
| 59 | |
| 53 | |
| 40 | |
| 31 | |
| 26 |