Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago

Power BI KPI Matrix Displaying Zero Target Value

Hi

 

I am new to posting, but hope someone will pickup and provide some guidance.

 

I am using the PowerKPIMatrix 3.1.1.  It works as expected except when I have a target value of ZERO.  The control displays a blank field.  This is a valid target - consider outstanding issues.

 

I have looked at different solutions, but none seem to resolve the issue.  

 

Please help!!!

 

Thanks

Karen

11 Replies

  • v-jingzhang's avatar
    v-jingzhang
    Community Support

    Hi Anonymous

     

    It seems KPI Status is calculated with a formula like DIVIDE([Current Value] - [Target Value], [Target Value]). So when a target value is zero, it returns the optional value blank as zero cannot be the divisor. 

     

    Maybe you can create a measure to calculate the result by your own and put this measure into a Matrix visual to display the difference percentages. 

     

    Best Regards,
    Community Support Team _ Jing
    If this post helps, please Accept it as Solution to help other members find it.

    • Anonymous's avatar
      Anonymous
      Not applicable

      I have a table storing the target values.  Ones with >0 display as expected, but if the target =0 then the control displays blank.

       

      Please let me know if you need more information.

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi Jing

         

        "

        It seems KPI Status is calculated with a formula like DIVIDE([Current Value] - [Target Value], [Target Value]). So when a target value is zero, it returns the optional value blank as zero cannot be the divisor. 

         

        Maybe you can create a measure to calculate the result by your own and put this measure into a Matrix visual to display the difference percentages. "

         

        The logic makes sense, but could you please suggest how I use a measure without running into the same logic?

         

        Thanks

        Karen

  • Nouches's avatar
    Nouches
    Frequent Visitor

    I'm facing the same problem!

    Has anyone found a workaround this? 

    Thank you 

  • Anonymous's avatar
    Anonymous
    Not applicable

    Anyone has a Solution for that problem?