Hey Got your solution ....
Follow the steps:
1) Create Measure object for ID Postfolio Hist & choose Aggregation as Sum for same & name it
ID_Portfolio_Hist_Value
2) like wise create measure object for Value portfolio Hist & aggregation as sum , Name like
Value_Portfolio_Hist_amt
Now save universe and export it & back to webi report...
3)Portfolio_Ranking_values_amt =Sum([Value_Portfolio_Hist_amt]) In([Id Hist])
4) Portfolio_Ranking_Id_VAL = Sum([ID_Portfolio_Hist_Value])In([Id Hist])
5)
updated_portfolios = If( ( [Portfolio_Ranking_values_amt] <> Previous([Portfolio_Ranking_values_amt]) OR
([Portfolio_Ranking_Id_VAL] <> Previous(Portfolio_Ranking_Id_VAL])
) Then "Update" Else "No Update"
6) Final =Max([updated_portfolios])In([Id Hist])
I hope this will resolve the issue .
Do let me know your output.
Thanks,
Swapnil