cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Partisan
Post Partisan

formula help status

Hi there ;

 

i have a column which shows "day" value as below left , i would like to create a new column that  writing  status according to below rule

 

İf day column value is between -3 and +3 status = on time 

if day column is bigger than  +3 status is = late

if day column is smaller than -3 status is early

 

thanks in advance 

 

dayStatus
0On time
3On time
5Late
2On time
1On time
-6Early
-4Early
-3On time
-1On time
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User IV
Super User IV

Re: formula help status

Hi @erhan_79 

Status Column = 
SWITCH(TRUE(),
[day] < -3, "early",
[day] > 3, "late",
"on time"
)

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

2 REPLIES 2
Highlighted
Super User IV
Super User IV

Re: formula help status

Hi @erhan_79 

Status Column = 
SWITCH(TRUE(),
[day] < -3, "early",
[day] > 3, "late",
"on time"
)

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

Post Partisan
Post Partisan

Re: formula help status

Hi @az38 ;

 

you are perfect ! it is working thank you!

Helpful resources

Announcements
Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors