Forum Discussion
roundup and rounddown
- 8 years ago
Following should work .
if([Total TAT - Creation to Shipping]<1,ROUNDUP([Total TAT - Creation to Shipping],0),ROUND([Total TAT - Creation to Shipping],0))
Please do try the same .
Thanks,
Mitsu
I thought that I can do it like that:
= IF('CCCE WSPs'[Total TAT - Creation to Shipping] <1;1;IF('CCCE WSPs'[Total TAT - Creation to Shipping]>,500;ROUNDUP('CCCE WSPs'[Total TAT - Creation to Shipping];0);ROUNDDOWN('CCCE WSPs'[Total TAT - Creation to Shipping];0)))
So everything under 1 day is now excactly 1 day, but the problem is that Power BI rounds everything up now instead of runding down the values under ... ,50
Following should work .
if([Total TAT - Creation to Shipping]<1,ROUNDUP([Total TAT - Creation to Shipping],0),ROUND([Total TAT - Creation to Shipping],0))
Please do try the same .
Thanks,
Mitsu
- Anonymous8 years agoNot applicable