November 7, 2014 at 6:08 am
Need to get the minimum non blank non zero column. Need the maximum but that's not the problem.
How do I filter the column to ignore the value zero
Thanks
E
November 7, 2014 at 10:06 pm
Would [font="Courier New"]WHERE somecolumn <> 0[/font] do it for you?
--Jeff Moden
Change is inevitable... Change for the better is not.
November 8, 2014 at 2:15 am
I did a little trial and error (banging head on table) and it looks like MIN with a FILTER would be the way to go. I got round it by adding another column with IF(quantity=0,BLANK(),quantity) then used a MIN on the new column.
MinStock:=CALCULATE(MIN(Table1[Stock]),FILTER(Table1,Table1[Stock]>0))
has been suggested on another forum so this will be my way forward.
Thanks
E
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply