Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 64 | |
| 51 | |
| 46 | |
| 23 | |
| 19 |
| User | Count |
|---|---|
| 139 | |
| 112 | |
| 51 | |
| 33 | |
| 29 |