So i load info for Sales and Transactions from a lot of stores, and i need to show something like this:
Store
Sales
Transactions
Rate
Store 1
786
80
2,5%
Store 2
3250
215
2,9%
Im trying to figure out how to do this. I change the format of the first table to a 4 column table (SalesMin, SalesMax, TransactionsMin,TransactionsMax,Rate) but i cant make it so far.
Thera are several ways to do this. I have a suggested solution with a double intervalmatch, where you need to to match the sales of a store to the relevant range, then the transaction number to the relevant range, and finally make a composite key of the two intervalmatches. Attached you will find the script in a text file.