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.
Hello,
I have several tables.
I want to create a new empty table, then add a new column from another table based on some filters, such as
Table A
Date Title
May-1 Title-1
May-1 Title-2
May-1 Title-3
May-2 Title-4
I want to create a new table C, and add a new column from table A[title] which A[Date]=May-1.
How can I do?
Thank you!
New Table under modeling and input formula:
TableC= CALCULATETABLE(TableA, TableA[Date] = MAY-1)
Thank you @Anonymous
I just want to get one column, in my example is Title, to the new table. and the condition may have several, in my example, is only one, TableA[Date]=May-1
TableC= SUMMARIZECOLUMNS(TableA[Title], FILTER(TableA, TableA[Date] = MAY-1))
Hello @Anonymous
thank you.
it' did not work in Power Query Editor. The function SUMMARIZECOLUMNS was not recognized.
User | Count |
---|---|
77 | |
77 | |
36 | |
30 | |
28 |
User | Count |
---|---|
106 | |
96 | |
55 | |
49 | |
46 |