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! Learn more
Hello,
I feel I have been on here too long working this one which seems that it should be way simpler. I have two tables
Table 1
| Truck# | Points | 
| 1 | 24 | 
| 1 | 36 | 
| 1 | 30 | 
| 2 | 15 | 
| 2 | 12 | 
| 3 | 60 | 
| 4 | 48 | 
| 4 | 12 | 
| 4 | 10 | 
Need table 2 to show Total points column.
| Truck# | Total Points | 
| 1 | 90 | 
| 2 | 27 | 
| 3 | 60 | 
| 4 | 70 | 
I need this to be a calculated column, and I feel I am close but I cannot get what i need. I use the following DAX for calculated column in table 2: I have a many to one relationship from table 1 to table 2 truck #.
| Truck # | Total Points | 
| 1 | 247 | 
| 2 | 247 | 
| 3 | 247 | 
| 4 | 247 | 
I have spent few too many hours for something I feel is so simple. Please help! Thank you!
Solved! Go to Solution.
I tried making a calculated column out of this, I got an error that the expression refers to multiple columns. Multiple columns cannot be converted to a scalar value.
The syntax I gave is to create new table syntax
So, I realize that coffee does have diminishing returns, hahahahaha. Thank you for your patience with me, I got what I needed! Thank you.
Column: (in 'Table')
If you are looking for sum by category type of formula i.e., adding a column to the original table, then you can try this. Create a new column in Table 1 as below.
Measure: (in 'Table')
To understand Group by, check this link: https://dax.guide/groupby/
Below gives the number of entries by Truck#:
 
					
				
				
			
		
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 | 
|---|---|
| 84 | |
| 49 | |
| 36 | |
| 31 | |
| 30 |