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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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