Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
89 | |
79 | |
59 | |
47 | |
40 |
User | Count |
---|---|
118 | |
82 | |
81 | |
58 | |
39 |