Forum Discussion
Retrieve values from another table
- 5 years ago
Hi gduobaite ,
You can create this column:
Column = IF ( ( [z_score_rnd] >= 4 || [z_score_rnd] <= -4 ) && [z_score_rnd] IN DISTINCT ( 'Table (2)'[z_score_rnd] ), 100, [score %] )Attached the file in the below, hopes to help you.
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
gduobaite , I am not able to get any logic to connect to the table, can you explain, what is logic we have join these two.
in Table1 there are scores ("score") with its value in % form ("score %").
Let's say probability to have a malaria is -3.02, that mean its 33 % below populiation avg. If score is 0,89, then you have 90 % chance to sick above population avg. BUT whole scores are in Table2, not in Table1 (there are scores only between -4 and 1, while Table2 handles 19, -87.4 and so on.)
So I need to have a column with % values from the Table1 WITH the 100 % values if score from Table2 is >=4 or <=-4.
I very hope it explained a little more..