Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have 2 tables, table 1 has an ID column which has relationship (1-to-1) with table 2, where all ID's are stored from all kinds of other tables (not only table 1). Table 2 has also a column with the value yes/no. I need the write a measure which counts the ID's from table 1 on how many yes or no are in table 2? Hope someone can help me out.
Table 1
ID
1
2
3
Table 2
ID yes/no
2 y
3 n
4 n
Solved! Go to Solution.
@Anonymous
measure =
CALCULATE (
COUNT ( tbl2[id] ),
FILTER ( VALUES ( tbl[yes/no] ), tbl[yes/no] = "y" )
)
@Anonymous
measure =
CALCULATE (
COUNT ( tbl2[id] ),
FILTER ( VALUES ( tbl[yes/no] ), tbl[yes/no] = "y" )
)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
87 | |
64 |