Forum Discussion

hmeltonPSL's avatar
hmeltonPSL
Icon for Helper II rankHelper II
1 year ago
Solved

Don't include blanks in COUNTROWS

I am trying to get the number of workorders with a Weekoffset =0  (this is the current week)  with the below measure.  I am getting that data but I am also getting all the rows where the weekoffset ...
  • pbiuseruk's avatar
    1 year ago

    Hello,

     

    Couple notes. If you're using the filter function for the same table, then you can use && or || for multiple conditions. 

    Why don't you also say in your condition that complete date can't equal blank (just to test if that works)?

     

    Also, I usually make an additional column for my week offset columns which is of a string type and I have a formula in there which says to rename the 0 to "Current Week". I do this because in the line charts or column charts it comes through quite nicely. Also, for all of the other prior weeks I call it Week -X.