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 September 15. Request your voucher.
Hello Everyone,
I want to unpivot table with 5 columns to a new table with 2 cloumns as below.
The 1st cloumn title need to be kept in table 2.
the 2nd abd 3rd cloumn title not need in the new table, instead of, need the contents in the new table.
Please help.
Many thanks!!
Solved! Go to Solution.
Power Query has split and merge options.
In dax you can try like
union(
summarize(table,table[Date_s],"Action","Date_s"),
summarize(table,table[Date 2],table[Type1 1]),
summarize(table,table[Date 3],table[Type1 2])
)
Not sure how you have same column name date 2 , twice
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Connect on Linkedin
Power Query has split and merge options.
In dax you can try like
union(
summarize(table,table[Date_s],"Action","Date_s"),
summarize(table,table[Date 2],table[Type1 1]),
summarize(table,table[Date 3],table[Type1 2])
)
Not sure how you have same column name date 2 , twice
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Connect on Linkedin
Hi Super User IV,
Sorry for bothering again. The table 2 (I learn from you) is created, now I have table 3 (actually, it is query, Tried in query edit, can’t merger query and table together) need to combine Table 2 and table 3 in one final table, Please help if possible. Many thanks for your help!!
Many thanks !!
User | Count |
---|---|
65 | |
62 | |
60 | |
53 | |
28 |
User | Count |
---|---|
181 | |
82 | |
67 | |
47 | |
44 |