cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
NightSky
New Member

KPI visualization doesn't work correct

Hello Community !

 

I have a problem with one KPI visualizations. When I put measure: 

measure1 = IF(ISBLANK(variable_x/variable_y),0,variable_x/variable_y)

to Indicator field the result is always 0

but for

measure 1 = variable_x/variable_y

it works fine.

 

Can someone tell me what is wrong ?

 

3 REPLIES 3
amitchandak
Super User
Super User

@NightSky , Try like

divide(variable_x,variable_y,0)

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin
Want To Learn Power BI
Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!

It doesn't answer my question but will help thx !

@NightSky , Actually need to check with data. variable_x/variable_y always blank is strange.

 

if would need data to check.

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin
Want To Learn Power BI
Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!

Helpful resources

Announcements
Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Top Solution Authors
Top Kudoed Authors