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
Recently started with DAX.
I want to calculate a column in a table for the current year. I got that one.
But I really only want to add up the amounts in table 1 to projects that meet the conditions in table 2 (status and type) for the current financial year.
Table 1
columns:
project
amount
Table 2
columns:
project
status
type
Thanks in advance for your help.
Solved! Go to Solution.
Let me understand what you mean:
you want to sum amounts from table one for all projects that have a certain status and type.
this is easy: you can simply create a relation between the two tables, then you can use a DAX expression like
Calculate(Sum('Table1'[Amount]), 'table2'[status]= your condition, 'table2'[type]= your condition)
now the problem is: do you want this to be an added column in a table, do you want to create a new table or do you want this to be a measure?
Hope I was Helpful. if I did please mark as solution and kudos are always appreciated 😉
Let me understand what you mean:
you want to sum amounts from table one for all projects that have a certain status and type.
this is easy: you can simply create a relation between the two tables, then you can use a DAX expression like
Calculate(Sum('Table1'[Amount]), 'table2'[status]= your condition, 'table2'[type]= your condition)
now the problem is: do you want this to be an added column in a table, do you want to create a new table or do you want this to be a measure?
Hope I was Helpful. if I did please mark as solution and kudos are always appreciated 😉
It is that simple! Found out what I did wrong. Something with ( "" etc.
Do you want to do this via the data model or via lookup?
Via data model.
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 | |
| 7 | |
| 6 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 11 | |
| 8 | |
| 8 | |
| 8 |