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
- 1.7K Product Ideas
- 1.7K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 292 Workbench
- 4 Cloud Amplifier
- 8 Federated
- 2.8K Transform
- 95 SQL DataFlows
- 602 Datasets
- 2.1K Magic ETL
- 3.7K Visualize
- 2.4K Charting
- 695 Beast Mode
- 43 App Studio
- 39 Variables
- 658 Automate
- 170 Apps
- 441 APIs & Domo Developer
- 42 Workflows
- 5 DomoAI
- 32 Predict
- 12 Jupyter Workspaces
- 20 R & Python Tiles
- 386 Distribute
- 111 Domo Everywhere
- 269 Scheduled Reports
- 6 Software Integrations
- 113 Manage
- 110 Governance & Security
- 8 Domo University
- 30 Product Releases
- Community Forums
- 39 Getting Started
- 29 Community Member Introductions
- 98 Community Announcements
- Domo Community Gallery
- 4.8K Archive