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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

Using KPI with a set number

Hi,

 

I'm trying to build a report that our company will be looking at weekly.  We have various goals we try to reach each week, and I'm trying to figure out the best way to integrate this into a report.

 

For example one of our "KPI"s we look at is count of leads created in a week.  I have this displaying in a Card.

12.PNG

Let's say my goal is 15. If the # leads created is >= 15 in the week, I want it to show green else if < 15 I want it to show red.  Not exactly sure if I should be using the KPI visualization or a formatting some how?  I will be adding more tables / goals / visualizations to this report!

 

Any insight or advice would be great!

 

Thanks,

1 ACCEPTED SOLUTION
v-eachen-msft
Community Support
Community Support

Hi @Anonymous ,

 

You can create a new measure to set your goal.

goal =
15

Suppose week1 has 16 IDs, and week2 has 9 IDs. Create a calculated column and use these fields to get a KPI visual.

CountIds =
CALCULATE ( COUNT ( Sheet2[id] ), ALLEXCEPT ( Sheet2, Sheet2[week] ) )

5-1.PNG5-2.PNG

 

You can set the color in the “Color Coding”

5-3.PNG

 

Best Regards,

Eads

 

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

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

View solution in original post

1 REPLY 1
v-eachen-msft
Community Support
Community Support

Hi @Anonymous ,

 

You can create a new measure to set your goal.

goal =
15

Suppose week1 has 16 IDs, and week2 has 9 IDs. Create a calculated column and use these fields to get a KPI visual.

CountIds =
CALCULATE ( COUNT ( Sheet2[id] ), ALLEXCEPT ( Sheet2, Sheet2[week] ) )

5-1.PNG5-2.PNG

 

You can set the color in the “Color Coding”

5-3.PNG

 

Best Regards,

Eads

 

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

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

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.