Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
sanjujeeboy
Creator
Creator

Howto achieve this?

Hi

I have a below table.

My requirement is to have a column where it calculates %share of each week for monthly revenue

eg for W1 what is %contribution for revenue for Jan. etc

 

WeekNumberMonthtestYeartestRevenue
   252866029.35
W1Jan201823927821.28
W2Jan201830333474.33
W3Jan201826330783.31
W4Jan201844499831.38
W5Feb201825113792.35
W6Feb201818856130.95
W7Feb201821004771
W8Feb201862799424.75

 

Thanks.

Labels (1)
1 Reply
chrismarlow
Specialist II
Specialist II

Hi,

Depending on exactly how your fields are set up, something like;

sum(Revenue)/sum(Total <Monthtest, Yeartest> Revenue)

Cheers,

Chris.