Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
chadb
Frequent Visitor

map to column header

I hope some can help. I have an excel sheet that has the a list of the months 1-12 as the header for the columns. In power-bi i have a table to that the months in the rows. Is there anyway to map the query of the excel data base to the query of the month table. The data below the list of months is the revenue for that item in that month. In normal mapping it will attempt to map the data in the cell and not the data in the header. Please help!!! 

1 ACCEPTED SOLUTION
ssugar
Resolver III
Resolver III

In Power BI desktop, once you import the data from Excel, it sounds like you'll want to unpivot the month columns.  That will give you the months in rows.

 

It's always easier to give more specific help if you provide sample data.

View solution in original post

2 REPLIES 2
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @chadb,

 

ssugar 's answer is helpful.  Please have a try.

 

If you want to unpivot your month colunm from column to row, you could refer to this blog about unpivot.

 

If you have solved your problem, please accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

 

If you still need help, please share some data sample and your desired output so that we could help further on it easier.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
ssugar
Resolver III
Resolver III

In Power BI desktop, once you import the data from Excel, it sounds like you'll want to unpivot the month columns.  That will give you the months in rows.

 

It's always easier to give more specific help if you provide sample data.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.