Forum Discussion
Mk2018
8 years agoFrequent Visitor
DAX IF Calculation error
Hi, I have been using the 'IF' calculation for a report i am working on. The calculation is using categorising time values into a time period. For example, IF('_____________'[_______]}>...
- Anonymous8 years ago
Replace the < with <= or if you want to keep the < change the comparison value:
IF('_____________'[_______]}>("00:00:00") && [_______] <= ("00:04:59"),("< 5 mins)
IF('_____________'[_______]}>("00:00:00") && [_______] < ("00:05:00"),("< 5 mins)
Anonymous
8 years agoNot applicable
Replace the < with <= or if you want to keep the < change the comparison value:
IF('_____________'[_______]}>("00:00:00") && [_______] <= ("00:04:59"),("< 5 mins)
IF('_____________'[_______]}>("00:00:00") && [_______] < ("00:05:00"),("< 5 mins)
Mk2018
8 years agoFrequent Visitor
IF('_____________'[_______]}>("00:00:00") && [_______] <= ("00:04:59"),("< 5 mins)
this worked!! :) thank you for your help