Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have Table 1 (which lists Group sizes and which ID that group belongs to).
ID | GroupSize |
1 | 10 |
1 | 5 |
1 | 20 |
2 | 25 |
2 | 3 |
I'd like to sum groupsize by ID and insert the result to Table 2 (the ID table) like so:
ID | TotalGroupSize |
1 | 35 |
2 | 28 |
I have a 1 - * relationship from Table 2 -> Table 1.
Solved! Go to Solution.
Hi @nft25 ,
Try this for a new table:
Hi @nft25 ,
Try this for a new table:
Hi @nft25
If the relationship is through ID, you can create a calculated column in Table2 as:
TotalGroupSize = SUM(Table1[GroupSize])
Please mark the question solved when done and consider giving kudos if posts are helpful.
Cheers
Hi @nft25
You need a calculate to trigger context transition:
TotalGroupSize = CALCULATE(SUM(Table1[GroupSize]))
Please mark the question solved when done and consider giving kudos if posts are helpful.
Cheers
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
9 | |
7 | |
7 | |
6 |
User | Count |
---|---|
21 | |
11 | |
10 | |
9 | |
8 |