Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
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.