The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have Four tables related to name, i want to count names in Table D. i try model measurement but it's so complecated and one by one. is there way to simplfy measurement with DAX or pivot table or other way
please your advice. Thank's 😊
Solved! Go to Solution.
Hi, @Wicak ;
As amitchandak said, you could unpivot in power query first.
1.unpivot three table and select all column.
2.append table.
The final output is shown below:
3.add table in desktop and count of it.
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Wicak ;
As amitchandak said, you could unpivot in power query first.
1.unpivot three table and select all column.
2.append table.
The final output is shown below:
3.add table in desktop and count of it.
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
thanks for your sharing 😊
@Wicak , Unpivot the first three table to get the name column from member 1, member 2 etc
Then create a common name dimension
Name =distinct(union(distinct(Table1[Name]),distinct(Table2[Name]),distinct(Table3[Name]),distinct(Table3[Name])))
Join it with all four tables and now you can do analysis together
https://radacad.com/pivot-and-unpivot-with-power-bi
Append : https://radacad.com/append-vs-merge-in-power-bi-and-power-query
User | Count |
---|---|
25 | |
12 | |
8 | |
8 | |
7 |
User | Count |
---|---|
27 | |
12 | |
12 | |
12 | |
6 |