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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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:
User | Count |
---|---|
15 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
18 | |
15 | |
7 | |
5 |