I am trying to convert below excel powerpivot formula into Tableau. It is calculated field in powerpivot at the database level and looking at the rows. "vBDCTradingViewJan2016-Present" is the view name in the database extracting data from the tables and other custom requirement. I was able to open the View in the Tableau but was not successful in converting below. Any help would be really appreciated.