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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

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/

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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