Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
baarathi
Creator III
Creator III

Set Expression

Hi I have attached a file in which i need to calculate the percentage for Revenue % = (sum(Amount) - sum(Adjustment)) / Total (sum(Amount) - sum(Adjustment))  for particular month-year.

12 Replies
baarathi
Creator III
Creator III
Author

Ya In the sample Data Which I have sent there is no data for Top and Low in same month-year. But there are cases where i have both top and low in same month-year.

OmarBenSalem

Try this:

as column: Year

as Line: PType

as measure

(Sum(Amount)-sum(Adjustment)) / (sum(total <Year> Amount)-sum(total <Year> Adjustment))

baarathi
Creator III
Creator III
Author

Still I'm not getting the answer correctly.