Forum Discussion
undefined
- Anonymous2 years ago
Thanks for the reply from AmiraBedh and amitchandak , please allow me to provide another insight:
Hi venkat_chaganti ,
I created some data:
Here are the steps you can follow:
1. Create calculated table.
Date = GENERATESERIES (TIME (0, 0, 0), TIME (23, 59, 59), TIME (0, 15, 0))2. Create measure.
Flag = var _mintime=MINX(ALLSELECTED('Date'),[Value]) var _maxtime=MAXX(ALLSELECTED('Date'),[Value]) var _time=TIME( HOUR(MAX('Table'[Date])),MINUTE(MAX('Table'[Date])),SECOND(MAX('Table'[Date]))) return IF( _time>=_mintime&&_time<=_maxtime,1,0)3. Place [Flag]in Filters, set is=1, apply filter.
4. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Thanks for the reply from AmiraBedh and amitchandak , please allow me to provide another insight:
Hi venkat_chaganti ,
I created some data:
Here are the steps you can follow:
1. Create calculated table.
Date = GENERATESERIES (TIME (0, 0, 0), TIME (23, 59, 59), TIME (0, 15, 0))
2. Create measure.
Flag =
var _mintime=MINX(ALLSELECTED('Date'),[Value])
var _maxtime=MAXX(ALLSELECTED('Date'),[Value])
var _time=TIME(
HOUR(MAX('Table'[Date])),MINUTE(MAX('Table'[Date])),SECOND(MAX('Table'[Date])))
return
IF(
_time>=_mintime&&_time<=_maxtime,1,0)
3. Place [Flag]in Filters, set is=1, apply filter.
4. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi, thanks for the solution we have done it simalrly but we didn't create any dax fuction when we have done. I have manually entred the data in transform data by creating a new table. we will try with solution you have provided.
Thank you for taking your time to answer my questions.