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.
As you can see, the month name appears accross twelve columns - and this entire thing is just breaking my brain. Anybody have experience or advice for how to transform this data into something more suitable for dimensional model?
Solved! Go to Solution.
First change the column names to add "-25" to them, e.g. "Jan-25".
Then select the first three columns, go to the Transform tab and choose Unpivot Other Columns. You can then turn the attribute column into a date type, and obviously rename the columns appropriately
Thank you @johnt75 . For some reason the terminology "pivot / unpivot" totally escaped me!
First change the column names to add "-25" to them, e.g. "Jan-25".
Then select the first three columns, go to the Transform tab and choose Unpivot Other Columns. You can then turn the attribute column into a date type, and obviously rename the columns appropriately
User | Count |
---|---|
77 | |
75 | |
36 | |
31 | |
29 |
User | Count |
---|---|
93 | |
81 | |
57 | |
48 | |
48 |