Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello,
I get the model below :
As there is one relationship between country and customer, the relationship between country and employees is not active.
So how can I get a table with total of employees and total of customers per country ?
Thanks
Solved! Go to Solution.
@jsteffe , country should join to order details.
Or do you need to have merged tables - Customer+country
and Employee and Country
In addition to @amitchandak reply, you can use USERELATIONSHIP code.
https://www.sqlbi.com/articles/using-userelationship-in-dax/
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos✌️!!
In addition to @amitchandak reply, you can use USERELATIONSHIP code.
https://www.sqlbi.com/articles/using-userelationship-in-dax/
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos✌️!!
I tried his formula and it works :
Merged table are a solution. Thanks
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 44 | |
| 40 | |
| 33 | |
| 31 | |
| 23 |
| User | Count |
|---|---|
| 127 | |
| 116 | |
| 90 | |
| 73 | |
| 69 |