I am using below expression in one of the measures in pivot table, it is working fine in line entires but where as in subtotal it is not working properly. When we make selection of particular Dimension in the chart it work's fine. Any suggestions or advise on the below expression to work in any conditions.