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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
JVP
Helper II
Helper II

Date not showing on X Axis for PowerBI chart, only Count

I'm a beginner user to PowerBI and I must be missing something very simple here. Below is example of what I am trying to create with a chart as below (Excel) which shows dates along X Axis. 

 

Capture.JPG

When I import data to PowerBI, I am only getting the option to count. Are there extra steps I need to do to achieve the above?

Capture2.JPG

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @JVP ,

 

I did a test similar to yours: I created a bar chart and found that the date column also automatically became counted, which I think may be bar chart can only use number as x-axis

 

Are you considering using another visual? For example Gantt Chart, it presents the same type of chart as you want to achieve.

vmengzhumsft_1-1658136727413.png

 

Best regards,

Community Support Team Selina zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

6 REPLIES 6
Fn2025
New Member

I had this problem. I deleted the visual and started again. I added the date along the X axis, before adding data for the Y axis. With this, it worked. I am still unsure how Power BI interprets date data on x -as when added after the data on the y-axis has already been added. 

Banan
Frequent Visitor

Were you able to reach a solution?

Hi, no the gantt chart visual didn't fit my needs either so I ended up not using dates and just used a count of the days left instead.

Anonymous
Not applicable

Hi @JVP ,

 

I did a test similar to yours: I created a bar chart and found that the date column also automatically became counted, which I think may be bar chart can only use number as x-axis

 

Are you considering using another visual? For example Gantt Chart, it presents the same type of chart as you want to achieve.

vmengzhumsft_1-1658136727413.png

 

Best regards,

Community Support Team Selina zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Thanks, I didn't think of a Gantt chart. I'll give it a go.

JVP
Helper II
Helper II

I tried changing the date column to "Whole number" format and it does show the other options other than count but it still can't treat it as a date.

 

I ended up just using a databar in conditional formatting instead for what I needed. I guess PowerBI does not support plotting Text against Dates, only dates against number values.

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.

Top Solution Authors