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.
Hi all!
I have a company table with company data, and a turnover table with all our sales lines including what job type it is.
I am interested in how to calculate number of companies BUYING a certain job type.
And how to calculate number of companies NOT BUYING a certain job type.
So I can make some percentage measure.
Data could look like this.
Company table:
CompanyID |
1 |
2 |
3 |
Sales table:
CompanyID | JobID | JobTypeID |
1 | 1 | 1 |
1 | 2 | 1 |
1 | 3 | 1 |
1 | 4 | 2 |
1 | 5 | 1 |
2 | 6 | 2 |
2 | 7 | 2 |
2 | 8 | 2 |
2 | 9 | 1 |
2 | 10 | 1 |
3 | 11 | 1 |
3 | 12 | 1 |
3 | 13 | 1 |
3 | 14 | 1 |
3 | 15 | 1 |
3 | 16 | 1 |
3 | 17 | 1 |
3 | 18 | 1 |
3 | 19 | 1 |
3 | 20 | 1 |
thanks!
Solved! Go to Solution.
Fixed.. I just made a calculated table in the company table:
Fixed.. I just made a calculated table in the company table:
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 |
---|---|
114 | |
98 | |
86 | |
70 | |
62 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |