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 VI
Super User VI

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 VI
Super User VI

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

Highlighted
Post Partisan
Post Partisan

Re: formula help status

Hi @az38 ;

 

you are perfect ! it is working thank you!

Helpful resources

Announcements
Upcoming Events

Upcoming Events

Wondering what events you could join or have an event to promote yourself? Check out our Upcoming Events.

August Community Highlights

Check out a full recap of the month!

Upcoming Events

Community Summit North America – Join Online!

Join this community-driven Power Platform digital event for unbiased support and problem-solving.

Experience what’s next for Power BI

Join us for an in-depth look at the new Power BI features and capabilities at the free Microsoft Business Applications Launch Event.

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Top Solution Authors