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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
BalazsNy
Helper I
Helper I

Bar chart with dates as values

Dear All,

 

I would like to convert an existing Excel chart into Power BI visual.

As shown below, this Excel chart is a clustered bar chart with record IDs as Y-axis & 2 different dates (actual & planned completition date) as values:
Screenshot 2024-04-17 094310.png

 

I have tried to get the same result with Clustered bar chart, but this visual in Power BI does not allow to display dates as values (only as count of dates). I have also thought about to display it on a Gantt chart, but these are only single dates without separate start & end dates.

 

Do you have any idea, how to get the same result in Power BI as in Excel?

 

Thanks for any tips in advance.

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @BalazsNy , 

 

You can use the new feature to get the labels to have details turn on:

MFelix_0-1713370257900.png


I'm using a column called End Date so I get the Earliest value but you can also create a measure.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português





View solution in original post

5 REPLIES 5
MFelix
Super User
Super User

Hi @BalazsNy , 

 

You can use the new feature to get the labels to have details turn on:

MFelix_0-1713370257900.png


I'm using a column called End Date so I get the Earliest value but you can also create a measure.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português





Hi, I am confused how you got the "Earliest" option for your date field, as I can only get the "Count" option.
Is there some kind of setting on the column itself I need to change?
My column is set as a Date type.

Hi @jlbriggs ,

 

If you are only getting the count is because you date column is formated has text and it will not get the latest value.

 

Check the data type for that column and if it is date.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português





Write this measure

Measure = min(Data[Date])


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Thank you very much @MFelix. It perfectly works.

Screenshot 2024-04-18 091202.png

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

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.