How we can show the no data message in insight?

Hi Team,
How we can show the no data message in insight if the required data is not there which is similar to other KPI visuals.

we are getting
image
image
this two types of messages when there is no data for desired filters.
in insight we are using top.items[0].categoryValue.formattedvalue to show the top 1 value of category

Hi @Shruthi

the two messages are indeed both the result of there not being enough data, but the way Filters and Insights work is different. The Insights message is based on a calculation, the calculation could not be performed because the date selected did not offered all the dimensions needed to compute the calculation. Hence "Insight could not be displayed’ ( aka the computation could not be performed) instead of ‘No results’ (there is no data to show).

Currently one cannot customize the computation error message. At AWS, our roadmap is primarily driven by our customers. Your feedback helps us build a better service. I have noted this in our internal feature request tracker.

Hi gillepa,
Thank you for your reply and thank you for considering this feature request, we are eagerly wanted to have such customize the computation error message because such type of messages giving odd look for our dashboards.