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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
v-esde
Frequent Visitor

show date like 12/3-12/9,12/10-12/17..instead of dec3.dec10,dec17--

I have power bi report showing 7 days data and in x-axis it is showing 7 days like dec3,dec10,dec17...but I need to show like 12/3-12/9,12/10-12/17...insted of dec3,dec10--

 

how can I achieve it.

 

Thanks in Advace,

Eswar

2 ACCEPTED SOLUTIONS
v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @v-esde,

What's your date format in your resource table? I create the following sample table.

sample tablesample table
I create a line chart, when you select the date as x-axis, it will display automatically as the picture1 shown. The X-axis type is continuous. When we change it as categorical type, it will show each value one by one as the picture2 displayed.

picture1picture1picture2picture2
If you want to show like 12/3-12/9,12/10-12/17. We can't achieve it unless your resource data format is like that. Up to date, we can not custom the x-axis format, please review this feature request and vote it.

Best Regards,
Angelia

View solution in original post

v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @v-esde,

Have you resolved your issue? If you have, please mark the right/helpful reply as answer. More people will learn new things here.  If you haven't, please feel free to ask.

Best Regards,
Angelia

View solution in original post

4 REPLIES 4
v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @v-esde,

Have you resolved your issue? If you have, please mark the right/helpful reply as answer. More people will learn new things here.  If you haven't, please feel free to ask.

Best Regards,
Angelia

Ashish_Mathur
Super User
Super User

Hi,

 

You can create a calculated column formula in the Data Model to generate those desired date ranges.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @v-esde,

What's your date format in your resource table? I create the following sample table.

sample tablesample table
I create a line chart, when you select the date as x-axis, it will display automatically as the picture1 shown. The X-axis type is continuous. When we change it as categorical type, it will show each value one by one as the picture2 displayed.

picture1picture1picture2picture2
If you want to show like 12/3-12/9,12/10-12/17. We can't achieve it unless your resource data format is like that. Up to date, we can not custom the x-axis format, please review this feature request and vote it.

Best Regards,
Angelia

mehaboob557
Resolver IV
Resolver IV

Hello @v-esde,

 

Click on format and click on x-axis. Under that category called "TYPE" . select Categorical in drop down list. 

 

yteys.PNG

 

Please Give a kudo and accept the solution if my answer Helps you.

 

Reagrds,

Mehbub - India

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.