Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello together,
I´ve got a table with turnaround times (e.g. 0,001 days, 3,247 days...). Is it possible with a measure to say that everything under 1 day should be round up to 1 and the rest should be round up when it is over ... ,500 and round down when it is under ... ,500 ?
Thanks in advance!
Greetings
Solved! Go to Solution.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
98 | |
78 | |
65 | |
53 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |