Forum Discussion
RvdHeijden
Post Prodigy
8 years agoCalculate time bigger then ...
I have a simple question at least i hope so. I have a table with a column in it called 'Technisch gereed' which has data/time values for example "13-11-2017 13:00:00" or "7-11-2017 20:57:00" ...
- 8 years ago
Zubair_Muhammad just a small remark: a formula like if condition then true else false can be shortened to just condition.
Applied to your formula:
Column = TIME ( HOUR ( TableName[Technisch Gereed] ), MINUTE ( TableName[Technisch Gereed] ), SECOND ( TableName[Technisch Gereed] ) ) > TIME ( 16, 30, 0 )
Zubair_Muhammad
Community Champion
8 years agoHI RvdHeijden
May be this MEASURE
Count =
COUNTROWS (
FILTER (
TableName,
TIME ( HOUR ( TableName[Technisch Gereed] ), MINUTE ( TableName[Technisch Gereed] ), SECOND ( TableName[Technisch Gereed] ) )
> TIME ( 16, 30, 0 )
)
)- RvdHeijden8 years ago
Post Prodigy
thanks for the info but i would rather have a calculated column so that i can use a linegraph to display the result
- Zubair_Muhammad8 years ago
Community Champion
Hi RvdHeijden
Do you simply need True or False in the Column?
Column = IF ( TIME ( HOUR ( TableName[Technisch Gereed] ), MINUTE ( TableName[Technisch Gereed] ), SECOND ( TableName[Technisch Gereed] ) ) > TIME ( 16, 30, 0 ), TRUE (), FALSE () )- MarcelBeug8 years ago
Community Champion
Zubair_Muhammad just a small remark: a formula like if condition then true else false can be shortened to just condition.
Applied to your formula:
Column = TIME ( HOUR ( TableName[Technisch Gereed] ), MINUTE ( TableName[Technisch Gereed] ), SECOND ( TableName[Technisch Gereed] ) ) > TIME ( 16, 30, 0 )