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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Date display format

I am using the same "date" in my 2 visual below, but in the table, it show the long date in table visual but short date in graphs.

The data in the column is in "July 2010" format.

Did i missed out anything?

 

shortdate.PNGlong.PNGdateformat.PNG

1 ACCEPTED SOLUTION

Hi @Anonymous ,

 

We can add a calculated column using following measure and keep the x axis of Line chart 

 

Month = format([Date],"MMM YYYY")

then we can use this calculated column in table visual and archieve your requirement.

 

17.PNG18.PNG

 


BTW, pbix as attached.

 

Best regards,

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team _ Dong Li
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

7 REPLIES 7
mauriciosotero
Resolver III
Resolver III

Hi,
Are you sure that they are the same column from the same table?
If it is, check if isn't any difference in possible hierarchy with this column.

Anonymous
Not applicable

@mauriciosotero 
hi, the hierarchy are the same, & they are the same column from the same table.

The only difference is that they are used in column(table matrix) & axis(line chart).

Any advice?

amitchandak
Super User
Super User

In case you have created a Month- Year column Separately. The also create

 

sort Month = format(date,"YYYYMM")

Mark for month year column mark it as sort column.

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
Thanks.

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak 
Would you mind explaning a bit on how can i make these date the same for both visuals?
yes, i do have a monthsort column created using edit queries. but this wasn't used in the visual.

 

Thank so much.

Hi @Anonymous ,

 

Add a new calculated column using format is a solution, but it may not sort as what you want, if you want to show the long month name in Line-Chart and use date Hierarchy as well, you can change the type of X axis to the categorical if it does not affect the way you want to show the data.

 

4.PNG

 


BTW, pbix as attached.

 

Best regards,

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

@v-lid-msft Thanks, i managed to get them displayed as "August 2018" but is there a way to display the short date ie. Aug 2018 instead?

Hi @Anonymous ,

 

We can add a calculated column using following measure and keep the x axis of Line chart 

 

Month = format([Date],"MMM YYYY")

then we can use this calculated column in table visual and archieve your requirement.

 

17.PNG18.PNG

 


BTW, pbix as attached.

 

Best regards,

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.