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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Kapako
Advocate I
Advocate I

HowTo: Create line graph with text labels and dates

Is it possible to create a line graph having text labels on Y-axis and dates on X-axis?

Just like folowing example (=mockup):

2017-10-24.png

4 REPLIES 4
vanessafvg
Super User
Super User

@Kapako just enabled the data labels in the settings





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Can you explain a little more?

 

I have a date field as Axis and do not know how to handle the field with the text values.

For each date the field with the text values contains values as shown in the mockup on the Y-axis.

For example 2 fields like:

[Date] : [Action]

...

09/05/2017 : Sell

09/08/2017 : Danger

09/09/2017 : Danger

...

09/25/2017 : Watch

...

 

I tried to do the trick using a conditional field provisioning some integers (0-5), which indeed shows the graph as wanted though showing the numbers on Y-axis.

 

Regarding your feedback:

As far as I understand data labels shows the number, in this case the count, next to the line and I am not looking for that.

Or do I misunderstand what you suggest?

Hi @Kapako,


I tried to do the trick using a conditional field provisioning some integers (0-5), which indeed shows the graph as wanted though showing the numbers on Y-axis.


This seems to the best option here in this scenario currently. 

 

In addition, could you try using the Gantt custom visual to see if it helps? Smiley Happy

 

Regards

Thanks for trying to help, but unfortunaltely GANTT is able to add the tasks to Y-axis but on X-axis not able to plot dynamic point in time. On X-axis it plots block from date 1 to date 2 and the progress.

 

Projected on tasks, what I am looking for is sort of a status for a task in time, which can be any value from my list without any dependency.

 

Looking further now and will also post it to the 'Wish' List.

 

Regards

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.