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.
Status =
IF (
fServicerating[DATAHORAPREVISAOPRODUCAO] < today(),
0,
IF ( fServicerating[DATAHORAPREVISAOPRODUCAO] = today(), 1, 2 )
)
I'm trying to find the statuses but I can't find the same
Solved! Go to Solution.
Hi @SLima .
Use SWITCH instead.
Status=
var selectedvalue=SELECTEDVALUE(fServicerating[DATAHORAPREVISAOPRODUCAO])
return
SWITCH(TRUE(),
selectedvalue<today,0,selectedvalue=today,1,2).
If this answers your question, then please mark it as 'Accept as Solution' and give it a big thumbs up.
Regards,
Sanket Bhagwat
resolved
Hi @SLima .
Use SWITCH instead.
Status=
var selectedvalue=SELECTEDVALUE(fServicerating[DATAHORAPREVISAOPRODUCAO])
return
SWITCH(TRUE(),
selectedvalue<today,0,selectedvalue=today,1,2).
If this answers your question, then please mark it as 'Accept as Solution' and give it a big thumbs up.
Regards,
Sanket Bhagwat
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 |
---|---|
47 | |
26 | |
19 | |
14 | |
10 |
User | Count |
---|---|
58 | |
50 | |
44 | |
19 | |
19 |