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
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


@ 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!:
The Definitive Guide to Power Query (M)

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/

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.