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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
Jasper
Advocate I
Advocate I

change x-axis labels of a clustered column chart (type continuous)

Hi,

 

I have a data set of timestamps and emails sent. I would like to show 2 weeks of detailed data (type continuous on the x-axis) as shown in the chart below. Since the day name is relevant for the pattern I want to show "Mon 13 mrt" instead of "13 mrt" (mrt = March). How can I do that? (I tried changing data format and some calculated colums, but regrettably without succes..)

 

Thanks in advance!

 

Jasper

 

image.png

 

 

 

 

5 REPLIES 5
v-huizhn-msft
Employee
Employee

Hi @Jasper,

You'd better create a calculated column to get the format what you like.

format-date = FORMAT(Table1[Date],"ddd dd MMM")

Then add the format-date as x-axis level, please see the following screenshot.

1.PNG2.PNG

 

If you have other issues, please feel free to ask.

Best Regards,

Angelia 

Hi @v-huizhn-msft,

 

Thanks a lot for your reply! The suggested sollution does not fit my situation though. My data is made of timestamps and I would like to see every data point plotted (as the image below). When I use the calculated column the data gets summarized per day and the x-axis is per day, not chronological anymore. Is it possible to keep the detailed level and change the (continuous) x-axis? (to include the day abbreviation).


Best, Jasper

 

Calculated column usedCalculated column useddetailed data leveldetailed data levelData: timestampData: timestamp

Hi @Jasper,

In Power BI desktop, for date value on x-asix, we can only set it as Categorical or Continuous. For your requirement, we can't achieve it.

1.PNG

Best Regards,
Angelia

Hi Angelia,

 

Thanks for your reply. I'll try to find another way.

Jasper

Hi @Jasper,

Got it. Please share it if you find other solution to resolve your issue. Please feel free to ask if you have any other issue.

Best Regards,
Angelia

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.