Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

division by zero

$
0
0

Hello,

 

I have encountered problem, that is killing me. I need to use Direct Query mode, which does not support IFERROR function.

 

I have several measures, that sometimes return error.

 

For example I have two columns:

NetValue

QuantityKG

 

QuantityKG is sometimes 0.

 

I need to make a measure: NetValue / QuantityKG. If it is an error I can have 0 calculated.

 

The measure would not be visible in a visual, because of division by zero, which I cannot easily solve with IFERROR statement.

 

I tried filtering values but it wouldn't help.

 

Do you have any idea how can I overcome this issue?

 

Thanks

 


Viewing all articles
Browse latest Browse all 213819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>