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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Turn values into dates instead in graph in Power BI?

Hi all,

 

I currently have this graph:

 

Jyggalag77_0-1665995853786.png

 

 

However, I am having the issue that when I pull in my x-axis from "REPORT DATE" it shows me 0-31 instead of 01-08-2020 until 31-08-2020 (the entirety of August in 2020).

 

I have tried looking online on how to change this, including this one here: https://community.powerbi.com/t5/Desktop/Show-all-Dates-on-continuous-X-axis/m-p/177712#M77745, but I am not sure if my problem is similar, becuase I can't seem to figure it out.

 

Can somebody please help me? This is my first day using Power BI in well over 2 years 🙂

 

Kind regards,

Jyggalag

3 REPLIES 3
AnastasiaS
Resolver I
Resolver I

Hello @Anonymous 

 

You seem to have the default date hierarchy and use only the Day field within your visual. This will then show only the day number.

Is your date represented like this ?

AnastasiaS_1-1666022915976.png

 

You can switch to the classic date by clicking on the small arrow near your date and select 'date' (in your case it will be REPORT DATE). 

AnastasiaS_0-1666022765280.png

You'll have then the classic representation.

You can as well switch from the Categorical to the Continuous X Axis if needed. 

 

Can you try this?

 

Regards,

Anonymous
Not applicable

Update: If I change the "Report date" value from Continuous to Categorical it just shows the data as this:

 

Jyggalag77_0-1665996389614.png

 

Which to me seems odd, because in my excel sheet where I pull the data from the dates are written in the format:

01-08-2020

02-08-2020

03-08-2020

etc.

 

But Power BI just changes this to:

1

2

3

4

5

etc.

Hi @Anonymous ,

 

Could you tell me that if your problem has been solved?

If so, please mark the reply as solution. More people will benefit from it.

 

 

Best Regards,

Stephen Tao

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.