Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have a report with multiple data tables. Four of them have a column that is named agency with similar data. I want to take the distinct values from all four tables and create a new table with a single agency column that has distinct values from the other four tables. Basically I want to do what union does with more then two tables. Can someone explain how I do this?
Solved! Go to Solution.
Hi, welcome to the community, try this: Go to the modelling tab on the ribbon and click create new table. In the formula bar use the DAX expression
=
SUMMARIZE (
UNION (
ALL ( Table1[UniqueValue] ),
ALL ( Table2[UniqueValue] ),
ALL ( Table3[UniqueValue] ),
ALL ( Table4[UniqueValue] )
),
[UniqueValue]
)
//If this solves your question please mark as such
Thanks Bud!!!!
Hi, welcome to the community, try this: Go to the modelling tab on the ribbon and click create new table. In the formula bar use the DAX expression
=
SUMMARIZE (
UNION (
ALL ( Table1[UniqueValue] ),
ALL ( Table2[UniqueValue] ),
ALL ( Table3[UniqueValue] ),
ALL ( Table4[UniqueValue] )
),
[UniqueValue]
)
//If this solves your question please mark as such
=
SUMMARIZE (
UNION (
ALL ( Table1[UniqueValue] ),
ALL ( Table2[UniqueValue] ),
ALL ( Table3[UniqueValue] ),
ALL ( Table4[UniqueValue] )
),
[UniqueValue]
)
What is this unique value line at the end supposed to be?
User | Count |
---|---|
25 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
27 | |
13 | |
13 | |
10 | |
6 |