Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Use measure as filter for another table

Hi 

I have a table which has 3 columns sort 1, sort 2, sort 3 these columns are from 1-100 with different combinations. I have a measure for this table as below 

Speed filter = ROUND(AVERAGE(Sort_combo[sort_1])*(6/100) + AVERAGE(Sort_combo[sort_2])*(19/100)+ AVERAGE(Sort_combo[sort_3])*(27/100),0)
above measure will give value according to the selection from sort 1, sort 2, sort 3, whatever the value it will give the below table should filter accordingly
ex: if I have selected sort 1 = 35, sort 2 = 30, sort 3 = 35 speed filter will give me 15 then in main table should filter where speed is 15

Now, I have a main table as below

TempWeightenergyspeed
5120000.2315
5120001.2315
5120001.9015
10125002.8918
15120003.1216
15120002.7816
20120003.1218