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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
Anonymous
Not applicable

Set custom intervals on x axis

Hi PBI community,

 

I'm working with dates on my x axis and the default intervals is 5 days. I want to visualise activity by week, so every 7 days. Is there any way to set the intervals - see viz below:

 

chart.png

1 ACCEPTED SOLUTION
Icey
Community Support
Community Support

Hi @Anonymous ,

 

Power BI doesn't support it currently. Maybe you can try to create R visual:

interval.PNG

library(ggplot2)
ggplot(dataset,aes(x=Day,y=Value))+geom_bar(stat="identity")+ scale_x_continuous(breaks=seq(from = 1, to = 31, by = 7))

 

BTW, .pbix file attached.

 

 

Best Regards,

Icey

 

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

3 REPLIES 3
Icey
Community Support
Community Support

Hi @Anonymous ,

 

Is this problem solved?

 

 

Best Regards,

Icey

Icey
Community Support
Community Support

Hi @Anonymous ,

 

Power BI doesn't support it currently. Maybe you can try to create R visual:

interval.PNG

library(ggplot2)
ggplot(dataset,aes(x=Day,y=Value))+geom_bar(stat="identity")+ scale_x_continuous(breaks=seq(from = 1, to = 31, by = 7))

 

BTW, .pbix file attached.

 

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

Check out the March 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors