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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
lamccra5
Regular Visitor

Automating to Show Goal Met and Calculate Payouts

Hello, I am working on automating something that was previously in Excel. I would like to insert a goal, mid goal, and max goal and then take the actual current number and have PowerBi tell me if what goal has been met.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @lamccra5 ,

@khaledHabib90 , good answer! And here is my solution.

Performance Category = 
VAR Selected_Value = SELECTEDVALUE(Parameter[Parameter])
RETURN
IF(
    ISBLANK(Selected_Value),
    BLANK(),
    IF(
        Selected_Value < 60,
        "non-performance",
        IF(
            Selected_Value <70,
            "goal",
            IF(
                Selected_Value < 90,
                "mid goal",
                "max goal"
            )
        )
    )
)

goal = 60, mid goal = 70, max goal = 90.
The results are as follows:

vjunyantmsft_0-1702605712157.pngvjunyantmsft_1-1702605731304.pngvjunyantmsft_2-1702605743572.pngvjunyantmsft_3-1702605758315.png


Best Regards,
Dino Tao
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
Anonymous
Not applicable

Hi @lamccra5 ,

@khaledHabib90 , good answer! And here is my solution.

Performance Category = 
VAR Selected_Value = SELECTEDVALUE(Parameter[Parameter])
RETURN
IF(
    ISBLANK(Selected_Value),
    BLANK(),
    IF(
        Selected_Value < 60,
        "non-performance",
        IF(
            Selected_Value <70,
            "goal",
            IF(
                Selected_Value < 90,
                "mid goal",
                "max goal"
            )
        )
    )
)

goal = 60, mid goal = 70, max goal = 90.
The results are as follows:

vjunyantmsft_0-1702605712157.pngvjunyantmsft_1-1702605731304.pngvjunyantmsft_2-1702605743572.pngvjunyantmsft_3-1702605758315.png


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

khaledHabib90
Resolver II
Resolver II

It should be something like the below, very similar to excel BTW

Create a calculated column, not a measure, using the below

Switch(true(),

Actuals >= max , "Max",

Actuals >= mid && actuals < max, "Mid",

Actuals >= goal && actuals < mid, "goal met",

"Goal not met")

 

If my reply helped you solve the issue, please accept it as the solution 🙂

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.