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.
Hi
I want to duplicate two tables and merge them using DAX.
How can i do that?
please see the screenshot below
1. Table A
2. Table B
3. Table C (Merge)
Solved! Go to Solution.
Hi,
Please check the picture down below, and the attached pbix file.
It is for creating a new table.
Hi,
Please check the picture down below, and the attached pbix file.
It is for creating a new table.
Thank you for your help.
1 more question.
How can I get only specific columns?
Hi,
thank you for your feedback.
In case you want to select some columns, please check the below picture and the attached pbix file.
TableC =
SELECTCOLUMNS ( CROSSJOIN ( TableA, TableB ), "A", TableA[A] )
User | Count |
---|---|
27 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
31 | |
15 | |
12 | |
7 | |
7 |