Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Multiple KPI/GAUGE/CARD

Hello!

I have been reading solutions for multiple KPI, Gauge and Cards, but still did not got an ultimate solution.

Example: During five year my target is to plant 1K trees.

Year 1 200;

Year 2: 200;

Year 3: 200;

Year 4: 200;

Year 5: 200.

 

I wan to visualize in one dashboard by including life of project ( as maximum) and each year target and present based on actual progress how far we are from both yearly and life of project target. 

 

I'd highly appreciate if you could help with this issue.  Here is the link for similar post, but it is not robust and practical.

https://community.powerbi.com/t5/Desktop/Gauge-visual-with-multiple-targets/m-p/1258251#M553918 

 

Many thanks, 

Amriddin

 

Many thanks, 

Amriddin

  • Hi Anonymous ,

     

    According to your description, I did a similar test with the following reference:

    Cur_value = 
    var a = YEAR(SELECTEDVALUE('Table'[Year]))
    return
    (a-2020)*200

     


    If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


    Best Regards,
    Henry


    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

2 Replies

  • v-henryk-mstf's avatar
    v-henryk-mstf
    Community Support

    Hi Anonymous ,

     

    According to your description, I did a similar test with the following reference:

    Cur_value = 
    var a = YEAR(SELECTEDVALUE('Table'[Year]))
    return
    (a-2020)*200

     


    If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


    Best Regards,
    Henry


    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Dear Henry, 

       

      Thank you very much. It would be kind if you could let me know how i can make i dynamic.

      My target varies from one year to another. Example:

      Year 1: 6000

      Year 2: 54000

      Year 3: 52000

      Year 4: 26000

      Year 5: 12000

      Cur_value = 
      var a = YEAR(SELECTEDVALUE('Table'[Year]))
      return
      (a-2020)*200

       

      If i am not mistaken (a-2020)*each year's target...

      I am trying, but highly appreciate if you could help me with this point.

       

      Otherwise, thanks again! 

       

      Best, 

      AK