Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. SELECT acct, location, amt FROM Table
  2.  
  3. =IIF(Fields!acct.Value >= 40000 and Fields!acct.Value <= 50000, SUM(Fields!amt.Value), "0.00")
  4.  
  5. =(IIF(Fields!acct.Value >= 40000 and Fields!acct.Value <= 50000, SUM(Fields!amt.Value), "0.00"))
  6. - (IIF(Fields!acct.Value >= 55000 and Fields!acct.Value <= 99999, SUM(Fields!amt.Value), "0.00"))
  7.  
  8. =SUM(IIF(Fields!acct.Value >= "40000" and Fields!acct.Value <= "50000", Fields!amt.Value, 0))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement