Forum Discussion

Borjaveigasvh's avatar
Borjaveigasvh
Regular Visitor
6 years ago

Pricing help needed!

Hi all!

I created a dataset from different sources, most of them tables in SQL

 

I would like to create calculate the prices for my products through past sales comparable.

 

In one table, I have all my products (which are real estate assets) 

On another table, I have my past sales

 I have a calculated measure that divides Price(€)/surface(sqm) this table has the attributes that I like to take on account such as ZIPCODE and PRODUCTTYPE both in columns

 

My new products (Stock) table has also both columns ZIPCODE and PRODUCTTYPE

 

Therefore, I would like to set a column that gives each product By ZIPCODE and PRODUCTTYPE the Price(€)/surface(sqm) regarding the average of my past sales 

 

Can anyone help me out this this? 

 

I attach a pic of the tables and the relationship between them if this might help. 

 

Thanks in advanced to anyone that could guide me with this issue 

 

 

 

2 Replies