Logical SQL: How to Calculate Response Percentage
Hi Community,
I have BU, ResponseCount and BUTotalCount columns in my Logical SQL based report.
- Response Count: It is number of responses from employees on a questionnaire.
- Total Headcount of Business Unit: Total number of employees in each business unit.
I need your help to add Response Percentage column
Response Percentage: This should be calculated as (Response Count / Total Headcount of Business Unit) * 100
Question:
How can I modify the Logical SQL report in OTBI to correctly calculate and display the "Response Percentage"?
Below is the screenshot of the report result and at the bottom LOGICAL SQL
SET VARIABLE PREFERRED_CURRENCY='User Preferred Currency 1',PREFERRED_CURRENCY='User Preferred Currency 1';SELECT