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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Custom KPI in Gantt Chart by MAQ

Dear community,

 

I'm designing a gantt chart including the KPI column. I would like to customize the standard KPI ranges, i mean, red=1; orange=2; yellow=3; green=4, for other values.

 

Is there a way to do this?

 

Regards

1 ACCEPTED SOLUTION

hi, @Anonymous

After my test, you may try to this way:

Step1:

Add a KPI group column like below:

KPI Group = IF(Table1[Kpi]>0&&Table1[Kpi]<0.3,"green",IF(Table1[Kpi]>=0.3&&Table1[Kpi]<0.7,"Yellow ","red"))

Step2:

Then drag the field into Category

1.JPG

Step3:

Custom color for the group in Format->Bar formatting

2.JPG

Result:

3.JPG

 

here is pbix, please try it.

https://www.dropbox.com/s/0kdwzqgqys83hdl/Custom%20KPI%20in%20Gantt%20Chart%20by%20MAQ.pbix?dl=0

 

Best Regards,
Lin

 

 

Community Support Team _ Lin
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

5 REPLIES 5
Anonymous
Not applicable

For example:

 

0 <= Green < 0.3

0.3 <= Yellow < 0.7

0.7 <= Red

hi, @Anonymous

After my test, you may try to this way:

Step1:

Add a KPI group column like below:

KPI Group = IF(Table1[Kpi]>0&&Table1[Kpi]<0.3,"green",IF(Table1[Kpi]>=0.3&&Table1[Kpi]<0.7,"Yellow ","red"))

Step2:

Then drag the field into Category

1.JPG

Step3:

Custom color for the group in Format->Bar formatting

2.JPG

Result:

3.JPG

 

here is pbix, please try it.

https://www.dropbox.com/s/0kdwzqgqys83hdl/Custom%20KPI%20in%20Gantt%20Chart%20by%20MAQ.pbix?dl=0

 

Best Regards,
Lin

 

 

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

Is there a way to show KPI indicator as blank for rows which start with schedule in below chart. This is the KPi logic

KPI Group = IF('Schedule & Milestone'[Task Status] = "Completed", 4, IF('Schedule & Milestone'[Task Status] <> "Completed" && TODAY() > 'Schedule & Milestone'[Modified Task Finish date], 1,if('Schedule & Milestone'[Task Status] <> "Completed" && TODAY() < 'Schedule & Milestone'[Modified Task Finish date], 3)))

 

 
 
 

image.png

Anonymous
Not applicable

Excellent!, that will be enough for my project.

 

Just to know...when you select [Kpi] column as Indicator in "KPI column type", there are colored circles according to red=1; orange=2; yellow=3; green=4. Could this be changed?

 

Thanks in advance!

hi, @Anonymous

After my test, I'm afraid it couldn't achieve in Power BI for now. For it is the third party visual and it only has three types and it color couldn't be customized.

 

Best Regards,

Lin

 

 

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

Helpful resources

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.