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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Yuiitsu
Helper V
Helper V

Creating a graph with double X Axis and original data's date is header

Dear Experts,

 

Happy New Year to you all.

 

I've always been using excel to create a certain graph and now I am tasked to transfer all the presentation slide's graph into powerbi.

 

One of the graph looks like this:

Yuiitsu_0-1672802222652.png

 

Here is the base data.

 

Contract ScopeApr 22May 22Jun 22Jul 22Aug 22Sep 22Oct 22Nov 22Dec 22Jan 23Feb 23Mar 23
TypeNumbersvcEqsvcEqsvcEqsvcEqsvcEqsvcEqsvcEqsvcEqsvcEqsvcEqsvcEqsvcEq
JAC210.20.05.40.05.70.05.60.05.80.06.00.06.20.05.80.05.80.05.80.05.80.05.80.0
BOE30.80.00.80.014.20.01.10.00.80.00.80.00.80.00.00.00.00.00.00.00.00.00.00.0
BOH166.00.05.80.012.10.03.90.01.80.00.40.03.00.00.00.01.70.00.20.00.20.00.20.0
Other1517.00.020.40.021.40.020.70.063.80.010.00.010.10.042.80.09.90.09.90.043.00.09.70.0
PPU40.011.90.011.90.011.90.011.90.07.90.07.90.014.60.07.90.07.90.07.90.07.90.07.9

Total

4034.011.932.411.953.511.931.411.972.27.917.37.920.114.648.67.917.47.916.07.949.17.915.77.9

 

Please help advise me how can i transform this inside power bi? 

 

Thank you!!

5 REPLIES 5
chrisyan_manalu
Helper II
Helper II

@Yuiitsu 

can you share more your expectation output about your structure data ?

Hihi!

 

Expectation will be if possible the same graph as shown

Yuiitsu_2-1672807053574.png

But this was created using excel, kinda easy with my original data:

Yuiitsu_3-1672807091647.png

When I use powerbi it is not possible since the months are the header.

amitchandak
Super User
Super User

@Yuiitsu , For this Month, needs to be in rows.  Unpivot the table if needed (https://radacad.com/pivot-and-unpivot-with-power-bi)

 

And then have Month and Contract Scope on the axis (Concatenate Label - Off)

 

Concatenate Label off : https://youtu.be/QgI0vIGIOOk

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thank you for the kind reply.

 

What about the 2nd row (svc and Eq)?

My table seems to be off but heres a screenshot of how the original table looks like.

Yuiitsu_0-1672806927697.png

 

Is it possible to create it the same as my excel graph?

Yuiitsu_1-1672807013238.png

 

Somehow I managed to did it!

 

Yuiitsu_0-1672809768121.png

 Thank you!

 

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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