The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I have two tables forecasted values and actual values,
forecasted table has data in one row with all 4 or 5 weeks you can see in the screen shot below. I am facing problem to unpivot this data while unpivoting matches does not match.
Actual table has values in one column and date in a separate column, I need to make forecasted table in same grain to make relationship and create visuals actual value vs forecast values.
Hi, @aqeel
Select the column that represents the week. Right-click the selected column and select Unpivot Columns, or go to the Transform tab and select Unpivot Other Columns. This creates two new columns: one for the number of weeks (for example, WeekNumber) and one for the corresponding value (for example, Value). Rename columns as needed.
You can check the following link to learn more about Unpivot:
Perform common query tasks in Power BI Desktop - Power BI | Microsoft Learn
How to Get Your Question Answered Quickly
Best Regards
Yongkang Hua
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
99 | |
94 | |
85 | |
69 | |
65 |
User | Count |
---|---|
244 | |
128 | |
119 | |
82 | |
78 |