Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am using the below rank() function in my expression:
aggr(rank(sum({<FlagYTD={'YTD'}>}Sales)),[Customer Name]), but it does not work for me and gives only '-'.
I have attached my QVW file. Please help me.
where is the attachment
What is your expected output? If you are looking output in the chart, might try using NODISTINCT like:
aggr(NODISTINCT rank(sum({<FlagYTD={'YTD'}>}Sales)),[Customer Name])
I don't see the use of the above expression in the attached qvw file?
Hi,
I have re-upload it. Please can you check?
Did tresesco's suggestion not work for you? What is the expected output for the Cus Rnk column?
Hi,
If you look at the first straight table with title 'Calculations - MTD,YTD,Current Sale' , then you can see that the column value for 'Customer YTD Rank ' has only 1 instead of showing rank. I don't understand what is the reason for it.
So if t has some reason please can u tell me what I have done wrong there?
You mentioned what you don't want to see, but I still don't know what you do want to see
Hi,
Please check my attached QVW file.
If you look at the first straight table with title 'Calculations - MTD,YTD,Current Sale' , then you can see that the column value for 'Customer YTD Rank ' has only 1 instead of showing rank. I don't understand what is the reason for it.
So if t has some reason please can u tell me what I have done wrong there?
Thanks,
Sandip