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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
KaiB
New Member

Simple diagram from excel sheet - should be a no brainer, is it?

Hi all,

I try to visualize a data source (excel sheet that I can't change) which basically has a formated like this:

 

ItemJanFebMar
a123
b431
c562

 

And I would like to have a diagram like:

chart_items.png

 

So this is a "standard" user case I would say. And maybe I'm just stupid.

But Power BI somehow puts the Months in the wrong axis, shows the Items on the x-axis, and so on... after hours I ended up asking this here.

 

All tutorials I have found used tables like this one, where it seems to work out of the box:

DateItem a
Jan1
Feb4
......

but I can't change my source.

 

Can anyone give me a hint / push into the right direction?

 

Thanks

Kai

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

@KaiB I see 2 options. One, in Power Query, unpivot your month columns. Two, you could use DAX Unpivot - Microsoft Power BI Community to create a new table in your model.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

3 REPLIES 3
KaiB
New Member

ok. This worked.

Here's a how to: https://www.youtube.com/watch?v=9Xv8COs59tc

 

In addition I had to add another column based on the "new" month column (Jan ->1, Feb -> 2, ...) so I can sort the month column based on the "month nr" column to make the months show up in the correct oder on the x-axis in the diagram.

In Excel this is a "one click" no-brainer. In PowerBI this is a pain in the a...

Unbelievable

 

Greg_Deckler
Community Champion
Community Champion

@KaiB I see 2 options. One, in Power Query, unpivot your month columns. Two, you could use DAX Unpivot - Microsoft Power BI Community to create a new table in your model.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Thanks for your fast answer. I'll give it a go.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.