cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mikejay850 Regular Visitor
Regular Visitor

Power Bi Format Columns for Forecasting

Hello all.

 

I’m currently attempting to forecast in Power Bi. However, the table I’m querying brings data into the report in a not so “ideal” format. I’m needing to see the forecasted amount for each property by the month of the year for 2019. However, the report has the months as the column headers and therefore trying to create a relationship to a Date table becomes difficult. Is there a way to expand the table to show me all 12 months for each property in a way that will allow me to draw a relationship to date table.

 

Here are some sample of my data. The top table is how the data currently comes in. The bottom table on the left is how it should look and would be my ideal outcome. This way I could create a relationship o the Date# in the Date Table.

 

Is there a way to expand to get this result.

 

 Data help.jpg

 

Thanks,

 

 

1 REPLY 1
Highlighted
Community Support Team
Community Support Team

Re: Power Bi Format Columns for Forecasting

HI @mikejay850,

 

Maybe you can enter to query edit to use 'unpivot columns' feature to transform your table, then you can simply create relationship between transformed table and date table.

Power Query Unpivot Scenarios

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin Sheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.



For learning resources/Release notes, please visit: | |

Helpful resources

Announcements
Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 115 members 1,456 guests
Please welcome our newest community members: