Forum Discussion
inner join
- 9 years ago
Hi Mariam1991,
Could you try the formula below to see if it works in your scenario? :smileyhappy:
New Column In Table A = COUNTROWS ( FILTER ( RELATEDTABLE ( 'TableB' ), 'TableB'[status] = "payed" ) )
Regards
create a relationship if there isn't already between table table a id to table b id in the relationship view
measurename = calculate(countrows(['table A'), 'Table B'[Status] = "payed")
thanks but i dont need a relation but an inner join between 2 table
more than that i do the same measure and it doesn't work :(
- vanessafvg9 years agoCommunity Champion
the relationship is an inner join.
- Mariam19919 years agoHelper II
there isnt an inner join in power BI just a relationship
- vanessafvg9 years agoCommunity Champion
Power BI is not the same as sql, creating a relationship has the same affect as an inner join, so once you have created the relationship(join) it should allow you to create the measure, have you tried and if so what error are you getting?
- Mariam19919 years agoHelper II
okey ! there is no error but in result we observe that it doesn't take the join in consideration , like we calculate the count(id ) in table A without the relationship with table B ... between thanks for your feedback