Probably one of them has 'Use Extract' checked and the other one doesn't. Same thing happens with COUNTD. --Shawn
Yes, it is dependent on the data source -- not all can offer that functionality. As Shawn mentioned, you could have seen the discrepancy if one of your data sources is using extracts with the Tableau Data Engine, which does support REPLACE().