cancel
Showing results for 
Search instead for 
Did you mean: 
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.

View solution in original post

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!!!
Check out my External Tool for Power BI Desktop! Microsoft Hates Greg's Quick Measures
YouTube Channel! Microsoft Hates Greg
Check out my latest book!

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/

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin
Want To Learn Power BI
Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!

Helpful resources

Announcements
Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors