Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello!
I need help with the correct Count DAX formula ont this.I have this table (Time entry) I need to have the following:
1 Time-Off TYpe Column: Only those Vacation with Approve Status will have a Time Off Type. This is the condition:
If the Vacation is a Sick Leave Time Off TYpe is Sick Leave else Casual But then again, only those vacation with approved status is applicable on this
Thank you,
Juhoney
Solved! Go to Solution.
Hi @juhoneyighot ,
Please try:
Time Off Type =
IF(
AND([Type] = "Vacation", [Status] = "Approve"),
SWITCH(
[Description],
"Sick Leave", "Sick Leave",
"Casual"
),
BLANK()
)
The page result is shown below:
If you have any other questions please feel free to contact me.
The pbix file is attached.
Best Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
Hi @juhoneyighot ,
Please try:
Time Off Type =
IF(
AND([Type] = "Vacation", [Status] = "Approve"),
SWITCH(
[Description],
"Sick Leave", "Sick Leave",
"Casual"
),
BLANK()
)
The page result is shown below:
If you have any other questions please feel free to contact me.
The pbix file is attached.
Best Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
User | Count |
---|---|
93 | |
83 | |
77 | |
72 | |
65 |
User | Count |
---|---|
114 | |
101 | |
96 | |
65 | |
60 |