title: Converting a DAX expression to an SSRS expression
body: <p>I have these two expressions to convert from DAX expressions to SSRS expressions, I am trying to replicate this expression in an ssrs environment to determine the metrics as shown below. I quite understand the expression but finding the appropriate expression to articulate this expression in ssrs seems to be the issue</p>
  <pre><code>    ABS (
          CALCULATE ( [CashAmount], PATHCONTAINS ( 'Account'[Account Hierarchy], &quot;ABC&quot; ) )
      ) &lt; 1,
      BLANK (),
      DIVIDE (
          CALCULATE ( [CashAmount], PATHCONTAINS ( 'Account'[Account Hierarchy], &quot;ABC&quot; ) ),
          CALCULATE ( [CashAmount], PATHCONTAINS ( 'Account'[Account Hierarchy], &quot;XYZ&quot; ) )
      )
  ) * -1 ```
  
  and ```CALCULATE (
      [CashAmount],
      FILTER (
          ALL ( 'Account' ),
          PATHCONTAINS ( 'Account'[Account Hierarchy], &quot;ABC&quot; )
      )
  )
      + CALCULATE (
          [CashAmount],
          FILTER (
              ALL ( 'Account' ),
              PATHCONTAINS ( 'Account'[Account Hierarchy], &quot;EFG&quot; )
          )
      )
      + CALCULATE (
          [CashAmount],
          FILTER (
              ALL ( 'Account' ),
              PATHCONTAINS ( 'Account'[Account Hierarchy], &quot;HIJK&quot; )
          )
      )
      + CALCULATE (
          [CashAmount],
          FILTER (
              ALL ( 'Account' ),
              PATHCONTAINS ( 'Account'[Account Hierarchy], &quot;LMNO&quot; )
          )
      )  ```
  </code></pre>