datetime - trying to number 96 qaurters of the day (15 minute interval) in DAX code -


i'm working in power bi , have dates looking this

6-4-2017 12:20:03 

i want give each date number depending on qauter date stamps time between

-00:00:00 , 00:14:59 number 1

-00:15:00 , 00:29:59 number 2

-01:15:00 , 01:29:59 gets number 6 etc.

quarter = hour(table[date])*4+ quotient(minute(table[date]),15) + 1

enter image description here


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -