Quantcast
Viewing all articles
Browse latest Browse all 217197

different dax query for each row

I have two tables 

 

table 1 

 

id  a   b    c    d  (columns)

1   0   1    1    1  (rows)

2   1   0    1    0  

 

table 2

 

feature  adoption  frequency (columns)

a

b

c

d

 

Now i want to fill adoption column in table 2.  This column will have count of all the "1" from table 1. I need to match column value (feature) from table 2 and column (a) from table 1. 

 

eg adoption for feature 'a' will count of all the rows from column 'a' in table 1 where row value=1.

 

How can I implement this? All the columns in both the tables are calculated columns.   


Viewing all articles
Browse latest Browse all 217197

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>