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

MoM and YTD Trend..

Hi..

I want to show below expression in line chart...

sum({<Val_Date={">=$(vValStart)<=$(vValEnd)"}>}if(vCalCurrentDate< Val_Date,[Net Tractor Revenue (Domestic)]))

/

sum( {<Link_Date={">=$(vCalMinDate)<=$(vCalCurrentDate)"}>} [Net Tractor Revenue (Domestic)])

Please help me with this issue.

Regards,

Kavita

16 Replies
sunny_talwar

Have you given it a shot at your end? I don't understand your data, I will need you to give me a kick start here....

kavita25
Partner - Specialist
Partner - Specialist
Author

Yess...

kavita25
Partner - Specialist
Partner - Specialist
Author

I have tried the below expression for the denominator part..

Sum(Aggr(If(Link_Date >= max([Quarter Start]) and Link_Date <= Max([Quarter End]), Sum([Net Tractor Revenue (Domestic)])), Link_Date, [Fiscal Month]))

But its summing up the data...

Regards,

Kavita

sunny_talwar

Do you know what are the numbers you will be seeing?

kavita25
Partner - Specialist
Partner - Specialist
Author

Below are the values:

For QTD: if i select Jun then it should show Apr, May and June..in Trend

For YTD: If i select Jul then it should show Apr to Jul

Apr567.3
May639.3
Jun842.2
Jul476.7
Aug366.3
Sep883.4
Oct1,321.1
Nov462.6
Dec209.5

Regards,

Kavita

sunny_talwar

Wait, these are just denominator numbers? What exactly are you looking to show now? percentage or just the denominator? You have had me completely confused now

Capture.PNG

We already had this, what do you want from this now? You need two expressions, one for QTD and one for YTD?

kavita25
Partner - Specialist
Partner - Specialist
Author

MoM trend was successfully done..

Same i Want for Qtd and YTD...

So for testing i was using oly denominator...for Qtd and YTD..

I want that MoM trend values in QTD and YTD..