I have the two following tables (Provider and Client) linked by an ID. In table Provider, how can I get the returned value (# client) for each provider? What would be the DAX FUNCTION to get this value in ‘’# client’’ column ? For example, for the first provider, the returned number of clients is 2 and for the second provider the number of client would 3
Provider
Id_provider | office_provider | Name | # client |
1 | West | Mark | 2 |
2 | East | Paul | ? |
3 | North | Jhone | ? |
Client
Id_provider | Client_name | Sex | $Paid |
1 | Jules | Male | 12 |
1 | Mark | Female | 45 |
2 | Evense | Male | 78 |
2 | Julile | Male | 56 |
2 | Pastor | Female | 23 |
3 | Mist | Female | 56 |
thank you for you help