HITESH SAHOO Posted June 22, 2020 Share Posted June 22, 2020 Hi All, My requirement is to show "NO DATA" instead of Empty in KPI Chart(refer ro below screenshot). Is it possible Please let me know. Link to comment Share on other sites More sharing options...
David Boot-Olazabal Posted June 22, 2020 Share Posted June 22, 2020 Hi HS, You can do it in two ways: - create a calculated column like this one and use it in the KPI chart:CASE WHEN [sales13] IS NULL THEN 0 ELSE [sales13] END - In the Data Panel, replace the Empty values with specific value. You can open the data panel via the middle icon on the left hand side or via the View --> Data menu. Then select the gear icon to view the content of the data. See my attached dashboard for the two examples. Kind regards, David Link to comment Share on other sites More sharing options...
HITESH SAHOO Posted June 23, 2020 Author Share Posted June 23, 2020 Actually, your above solution is very helpful, but still instead of showing empty can we show "No Data" as string Thank you so much for this solution. Link to comment Share on other sites More sharing options...
David Boot-Olazabal Posted June 24, 2020 Share Posted June 24, 2020 Hi HS, When you use the calculated column option, instead of 0 you should be able to use "No Data" instead: CASE WHEN [sales13] IS NULL THEN "No Data" ELSE [sales13] END. You probably can do the same when replacing the EMpty Values with a specific value (have not checked it yet) such as "No Data". Kind regards, David Link to comment Share on other sites More sharing options...
HITESH SAHOO Posted June 24, 2020 Author Share Posted June 24, 2020 As [sales13] is integer and 'No Data' is string, there's a problem, not valid expression. So is there any workaround for this Thanks for helping. Link to comment Share on other sites More sharing options...
David Boot-Olazabal Posted June 24, 2020 Share Posted June 24, 2020 Hi HS, Yes, I see it. It sometimes works, but most of the times it does not, unfortunately. But you can use the formatting of the values to achieve the same though. See the attached dashboard and screenshot how to do it. I have used this custom format for the Sales column:#.###;-#.###;NoData And that gives you the desired output. Kind regards, David Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now