Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
didierodayo
Partner - Creator III
Partner - Creator III

RANK and Store in QVD

Hello,

I would like to rank the following table where the highest sale is ranked 1. then I ill store the table into qvd with a new field Ranking.

  

StoreSales
A3000
B2900
C756
D1645
E3680
F985

Thanks You.

19 Replies
tamilarasu
Champion
Champion

Mahesh,

Thanks for pointing out. I have not tested the above code. Now, I have updated the script. Could you check and update here, please.

didierodayo
Partner - Creator III
Partner - Creator III
Author

Thanks you all for your replies, I really appreciate the effort. I am going to try the different options and mark the suitable one off.

qlikview979
Specialist
Specialist

Hi Bro,

where  can I get Qlikview Sample Dashboards ?

Regards

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Isn't that the idea? That identical values get the same ranking? And the next rank will be skipped?

Peter_Cammaert
Partner - Champion III
Partner - Champion III

demo.qlikview.com

Anonymous
Not applicable

HI mahesh, you can find some free demos on http://us-b.demo.qlik.com/

Regards!

qlikview979
Specialist
Specialist

Hi Bro,

Now Its Working.

where  can I get Qlikview Sample Dashboards ?

Regards

qlikview979
Specialist
Specialist

Hi

Thanks, Bro

Regards

Kushal_Chawda

Data:

LOAD *

FROM Table;

New:

noconcatenate

load Store,

        Sum(Sales) as Store_Sales

Resident Data

group by Store;

Rank:

LOAD *,

          autonumber(Store_Sales) as Rank

Resident New

order by Store_Sales desc;

drop table New;

tamilarasu
Champion
Champion

You can also check below path for some sample dashboards.

C:\Program Files\QlikView\Examples\Documents