cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JCK2
Helper III
Helper III

KPI Indicator

Hello,

 

Im looking to calculate an indicator, which says, if my measure is not blank ( first condition), then check if my measure is greater than target ( second condition), then give me 1 else 0.

 

Green Indicator= If is not blank [measure], [measure] > [measure1] then 1 else 0

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@JCK2, try DAX

if( not(isblank([measure])), if([measure] > [measure1], 1 , 0),blank())

View solution in original post

v-jayw-msft
Community Support
Community Support

Hello @JCK2 ,

Check

Green Indicator= IF([measure]<>BLANK()&&[measure]>[target],1,0)

Best regards

Jay

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

View solution in original post

2 REPLIES 2
v-jayw-msft
Community Support
Community Support

Hello @JCK2 ,

Check

Green Indicator= IF([measure]<>BLANK()&&[measure]>[target],1,0)

Best regards

Jay

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

@JCK2, try DAX

if( not(isblank([measure])), if([measure] > [measure1], 1 , 0),blank())

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors