Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have 3 tables:
1. company (company_id, name, adres, etc..)
2. quotes (quotes_id, company_id, value, project_number etc..)
3. orders (orders_id, company_id, value, project_number)
The tables are 1 to many connectect through company_id
Table 2 quotes:
| quotes_id | company_id | value | project_number |
| 1 | 55 | 100 | 20201 |
| 2 | 55 | 10 | 20202 |
| 3 | 57 | 2000 | 20203 |
| 4 | 58 | 20 | 20204 |
Table 3 orders:
| orders_id | company_id | value | project_number |
| 1 | 55 | 100 | 20201 |
| 2 | 57 | 2000 | 20203 |
| 3 | 53 | 25 | 20208 |
| 4 | 58 | 300 | 20209 |
I want to formulate a DAX formule which counts the value of de orders (order[value]) but only from project number (orders[project_number]) that don't exist in de quotes table (quotes[project_number])
So in this case the result should be 25 + 300 = 325.
please help.
Solved! Go to Solution.
First thing: create a calculated column in the Order table as follows:
First thing: create a calculated column in the Order table as follows:
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 6 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 14 | |
| 8 | |
| 8 | |
| 8 |