Please help me

I am using the below calculation to find the employee who is having 3 or more than 3 PR. once I have this data then I want to total the count
COUNT(CASE WHEN Attendance Check
= 'Present 3 or More Days' THEN 1 ELSE 0 END)
on the above calculation, i tried with the SUM function as well but it is still same. It is passing the Beastmode but when i am putting this into a table it won't work.
CASE
WHEN SUM(CASE WHEN Status
= 'PR' THEN 1 ELSE 0 END) >= 3 THEN 'Present 3 or More Days'
ELSE 'Less Than 3 Days'
END
(I want a calculation which can check, if the employee is present or not (PR) for 3 or more than 3 in a week. Once I get this, then I want a count of all it who are present for 3 or more than 3 in a week) If there is any way then please help me
Answers
-
so after this calculation "CASE
WHEN SUM(CASE WHEN Status = 'PR' THEN 1 ELSE 0 END) >= 3 THEN 'Present 3 or More Days'
ELSE 'Less Than 3 Days'
END"The above calculation saved as "Attendance Check"
I am getting 'Present 3 or More Days' and 'Less Than 3 Days' and after that, when i am trying to sum the count who is present 3 or more days three, it won't come. for this i am using, "COUNT(CASE WHEN Attendance Check = 'Present 3 or More Days' THEN 1 ELSE 0 END)"
The above calculation is saved as "Final Check". when i put "Final Check" in a column (Mega Table or any other table), it shows like this "An issue has occurred during processing. We are unable to complete the request at this time."
0
Categories
- All Categories
- Product Ideas
- 2K Ideas Exchange
- Connect
- 1.3K Connectors
- 308 Workbench
- 7 Cloud Amplifier
- 10 Federated
- Transform
- 661 Datasets
- 117 SQL DataFlows
- 2.2K Magic ETL
- 819 Beast Mode
- Visualize
- 2.6K Charting
- 85 App Studio
- 46 Variables
- Automate
- 193 Apps
- 483 APIs & Domo Developer
- 85 Workflows
- 23 Code Engine
- AI and Machine Learning
- 22 AI Chat
- 3 AI Projects and Models
- 18 Jupyter Workspaces
- Distribute
- 116 Domo Everywhere
- 282 Scheduled Reports
- 11 Software Integrations
- Manage
- 142 Governance & Security
- 9 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 115 Community Announcements
- 5K Archive