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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Employee
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
Employee
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
Employee
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
Employee
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.