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
JakeSchmetterer
New Member

Trying to create bins for time of the day

Hello,

 

I am trying to create bins for time of the day.  However I am unable to change the Min Value and Max Value as they are greyed out:

 

JakeSchmetterer_0-1599690603671.png

 

If I could edit it, I would make Min Value: 2pm, Max Value: 8pm and then keep Bin Size at 30 minutes

 

1 ACCEPTED SOLUTION
v-yingjl
Community Support
Community Support

Hi @JakeSchmetterer ,

Based on my research, we could not change the default value in group data in power bi desktop.

Another way you can try that is change the bin type to 'number of bins', adjust the bin count manually until the bin size has been shown as 30 minutes.

bin.png

 

Best Regards,
Yingjie 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

3 REPLIES 3
v-yingjl
Community Support
Community Support

Hi @JakeSchmetterer ,

Based on my research, we could not change the default value in group data in power bi desktop.

Another way you can try that is change the bin type to 'number of bins', adjust the bin count manually until the bin size has been shown as 30 minutes.

bin.png

 

Best Regards,
Yingjie Li

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

Greg_Deckler
Super User
Super User

@JakeSchmetterer - You could create a time table like:

Time Table = GENERATESERIES(14,20,1)

Representing hours of the day. Other ways to do it.  You could get to the minute. My book DAX Cookbook covers time tables in Chapter 3, Recipe 1, you can get the DAX here: https://github.com/gdeckler/DAXCookbook



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...
amitchandak
Super User
Super User

@JakeSchmetterer , Another way is to create a time table and create a new column as per requirements

https://kohera.be/blog/power-bi/how-to-create-a-time-table-in-power-bi-in-a-few-simple-steps/

 

The create the formula to use the bin. or join with the time of fact table.

 

refer

https://www.daxpatterns.com/dynamic-segmentation/
https://www.daxpatterns.com/static-segmentation/

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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