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

IF - OR Formula When Dealing with Null

$
0
0

Hello,

 

I have columns "M2 Fail", "M3 Fail", "M4 Fail", etc.  1 means fail, 0 means pass.  The data for "M2 Fail" is pulled from Month 2, "M3 Fail" from Month 3, etc.

 

Right now, an input in null in a Month column is outputting a 0 (pass).

 

I want nulls to ouput a 1 (fail) in the corresponding month fail column, but only if there has already been a numerical value in a previous month.  For example:

 

-In row 1, Month 2 and Month 3 should count as 0's (passes) in columns M2 Fail and M3 Fail, because there hasn't been a numerical value in a previous month.  

Whereas in row 2, I want Month 4 and Month 5 to count as 1's (fails) since there has already been a numerical value in months 2 and 3.

 

How can this be accomplished?  Thanks in advance for your help!

 

powerbi2.JPG


Viewing all articles
Browse latest Browse all 216047

Trending Articles



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