cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Wkbdrguy Frequent Visitor
Frequent Visitor

How do I show a date on graph for last 30 days and not a number value

So I have a graph and I want it to show the date of the day but it's showing a number series 1-30.

image.png

 

What I want is the date along the bottom and not a number. It works fine with weeks or months by change it to a day and it puts a number. Any ideas?

 

1 ACCEPTED SOLUTION

Accepted Solutions
Wkbdrguy Frequent Visitor
Frequent Visitor

Re: How do I show a date on graph for last 30 days and not a number value

Solved it! 

Use the following Formula instead of using the date.

Day = FORMAT(Table[Date], "MMM DD")

image.png

2 REPLIES 2
Phil_Seamark Super Contributor
Super Contributor

Re: How do I show a date on graph for last 30 days and not a number value

You'll need to use a DateTime field on your chart axis, rather than an Integer field.


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

Wkbdrguy Frequent Visitor
Frequent Visitor

Re: How do I show a date on graph for last 30 days and not a number value

Solved it! 

Use the following Formula instead of using the date.

Day = FORMAT(Table[Date], "MMM DD")

image.png

Helpful resources

Announcements
Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Power BI Helps Homeless and Trouble Youth

Power BI Helps Homeless and Trouble Youth

We spoke with Power BI Super User, Greg Deckler, about his charity work

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 262 members 3,150 guests
Please welcome our newest community members: