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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Line Graph

I would like to create line graph by showing Year/Month on x-axis. I tried different options ,but could not figure it out. Any suggestions how to acheive it?

 

ja832153_0-1621000459169.png

 

1 ACCEPTED SOLUTION
Pragati11
Super User
Super User

Hi @Anonymous ,

 

Quick way will be something like below:

  1. Create a chart moving your date hierarchy on x-axis and keeping just Month & Year in the hierarchy.
  2. On the chart drill down to the lowest hierarchy as shown below in the chart:

Pragati11_0-1621000999837.png

Once you click on drill-down you get month-year on the x-axis:

Pragati11_1-1621001062178.png

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

2 REPLIES 2
selimovd
Super User
Super User

Hey @Anonymous ,

 

there is year and month on the x-axis. How do you want it to look like?

 

Also please share a screenshot of your hierarchy that you are using for the visual. If you put year and then month name you should get the result.

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
 
Best regards
Denis
 
Pragati11
Super User
Super User

Hi @Anonymous ,

 

Quick way will be something like below:

  1. Create a chart moving your date hierarchy on x-axis and keeping just Month & Year in the hierarchy.
  2. On the chart drill down to the lowest hierarchy as shown below in the chart:

Pragati11_0-1621000999837.png

Once you click on drill-down you get month-year on the x-axis:

Pragati11_1-1621001062178.png

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.