Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Anonymous
Not applicable

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

1 ACCEPTED SOLUTION
v-henryk-mstf
Community Support
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

vhenrykmstf_0-1633331661865.png

vhenrykmstf_1-1633331680345.png

 


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.

View solution in original post

2 REPLIES 2
v-henryk-mstf
Community Support
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

vhenrykmstf_0-1633331661865.png

vhenrykmstf_1-1633331680345.png

 


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
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

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.