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: 
kavita25
Partner - Specialist
Partner - Specialist

YTD for the below expression..

Hi,

Please help me with the logic for YTD..

My expression is :

sum(If(Val_Date >= Cal_MonthYear and Val_Date < AddMonths(Cal_MonthYear, 1), [Net Tractor Revenue (Domestic)]))

/

sum(If(Link_Date >= Cal_MonthYear and Link_Date < AddMonths(Cal_MonthYear, 1), [Net Tractor Revenue (Domestic)])))

I want to show YTD with the above expression..

For e.g If i select Sep Month then it should show from Apr to Sep..

stalwar1gwassenaar

Regards,

Kavita

15 Replies
kavita25
Partner - Specialist
Partner - Specialist
Author

2nd sheet.

Please help me with this issue..

kavita25
Partner - Specialist
Partner - Specialist
Author

stalwar1gwassenaar

Have u checked the app...

Please help me with this issue..

kavita25
Partner - Specialist
Partner - Specialist
Author

gwassenaar

I have attached an app..Kinldy look into the app..

& Please help me to resolve it..

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Fix your data model first. The calendar is a data island and not linked with your other table. There are also only two Val_Date values in that table.


talk is cheap, supply exceeds demand
kavita25
Partner - Specialist
Partner - Specialist
Author

Yess...There are only two date values coz its dummy data..

And my calendar is not linked with master calendar...

kavita25
Partner - Specialist
Partner - Specialist
Author

stalwar1

I have attached the qvf..

Please look into this..