Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have reports sent to me from various sources with columns for each month of the year. I would like to take said columns and combine them all into a single column programmatically and associate the month from which they originated with them.
Is there an easy way to do this? I see the "Convert to List" feature, but I can't figure out how to do this for all columns without having to create separate queries for each. I am also unsure how I go about recombining them.
Solved! Go to Solution.
Hi pbiuser2.
What you probably want here is to unpivot those months columns and turn them into a single column. Your data model will probably not work fine with them pivoted as they are. I've found this blog post with detailed instructions on how to do it. Take a look. The first part of the post deals with pivoting, so please roll to the middle of the article to find the unpivotting topic.
Regards.
Hi pbiuser2.
What you probably want here is to unpivot those months columns and turn them into a single column. Your data model will probably not work fine with them pivoted as they are. I've found this blog post with detailed instructions on how to do it. Take a look. The first part of the post deals with pivoting, so please roll to the middle of the article to find the unpivotting topic.
Regards.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
82 | |
70 | |
61 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |