Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Friends,
I am struggling to calculate the YTD for the below data in qlik Sense. In Excle simply they used SUMIF to calculate the YTD.
But when I try to get the same in qlik sense I am not able to get... I am struggling... I have mentioned the result YTD also in the below table. Can some one help it would be really helpful.
I have tried with earlier posts in the community but most of them are for row wise... and not useful for my case.
My mind is not working with some extend 😞
Country | M01 Units | M02 Units | M03 Units | M04 Units | M05 Units | M06 Units | M07 Units | M08 Units | M09 Units | M10 Units | M11 Units | M12 Units | YTD | |
XYZ | 0 | 0 | 0.52903 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.52903 | |
ABC | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | |
def | 0 | -1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | -1 | |
jkl | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375 | |
mnop | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375 | |
sdfg | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375 | |
erty | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375 | |
mnhu | 0 | 0.255918 | 0.028435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.284353 | |
hytr | 0 | 0 | 0.568707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.568707 |
Thanks in advance!
What are your dimensions and what are you expression? Can you share a sample so that we can help you better?
Thanks Sunny!
I have attached my sample data here. My requirement is to get the YTD actual and YTD Forecast.
Thanks & Regards,
Great, but what are the dimensions and expression do you use to create this in Qlik Sense 🙂
So, country is the only dimension? Or do you have Month as a dimension also?
Do you have one expression for each month? I am still not sure how you have structured your table in Qlik Sense. Is it possible to share the qlik sense app where you are trying to do this
Sunny, I think, there is a miscommunication. The data which I attached in excel file is raw data we got from some source(except the YTD Actual and YTD Forecast). From the Data I need to calculate the YTD actual and YTD Forecast as shown in the attached excel.
M01 Units M02 Units M03 Units.... etc are filled monthly by the source.
Thanks!