Hi community! I have created a manual query that I was able to run and preview the data as shown but cannot see any data displayed while creating a workbook. Could someone please help? This is the full query;
select A.*,
case when "Actuals/Targets" >= 1 then '>=100%' when "Actuals/Targets" >= 0.75 then ' >=75-100%' when "Actuals/Targets" >= 0.5 then ' >=50-75%' when "Actuals/Targets" >= 0.25 then ' >=25-50%' when "Actuals/Targets" >= 0.01 then ' >=1-25%' else ' 0%' end "Performance Category"
from(
select *,
(ifnull( XSA(Dataset)."Actuals",0))/(ifnull(XSA(Dataset)."Targets",0)) "Actuals/Targets"
from XSA(Dataset))
)A
- While breaking the queries into two parts to troubleshoot, the query below about creating "Actuals/Targets", I was able to see and use all of the measures and attributes in creating the workbook.
select *,
(ifnull( XSA(Dataset)."Actuals",0))/(ifnull(XSA(Dataset)."Targets",0)) "Actuals/Targets"
from XSA(Dataset))
2. However while adding the "Performance Category" shown below I cannot see any data elements display even though I can see all of the data elements in inspect:
case when "Actuals/Targets" >= 1 then '>=100%' when "Actuals/Targets" >= 0.75 then ' >=75-100%' when "Actuals/Targets" >= 0.5 then ' >=50-75%' when "Actuals/Targets" >= 0.25 then ' >=25-50%' when "Actuals/Targets" >= 0.01 then ' >=1-25%' else ' 0%' end "Performance Category"