Single KPI component


I’m having an issue when I try to use my code in the component Single KPI returning a number.
When I use that same code in an olap table it works, when I copy past that code into the single KPI it shows me the value I want in the preview but when I click done it doesn’t show the number only a dash.


Thanks in advance

Hi Hugo,

do you have a component filter on the single KPI? Are you just displaying the KPI in the olap table or together with other dimensions?