title: Network Days In Tableau
body: <p>I need to create network or working days in Tableau on the below expression.<br>
  I have created network days on a different calculation but not sure how should i link it here.<br>
  The code is:  </p>
  
  <pre><code>if ISNULL([Resolved Date])   
  then TODAY()- [Pending Date] // 1st condtion    
  ELSEIF ISNULL([Pending Date]) and [Resolved Date] !=NULL  
  THEN  
  [Resolved Date]-[Assigned Date] // 2nd condition   
  ELSEif ISNULL([Pending Date]) and ISNULL([Resolved Date])   
  then   
  TODAY()- [Assigned Date]  
  else  
  [Resolved]
  </code></pre>
  
  <p>How to do i remove weekends from the above formula.    </p>