Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
FrancisGhao
Frequent Visitor

Summing of all projects instead of per project

Hi all,

I have 2 tables.

Table 1: 1 with column projectname and column with budgeted hours.

Table 2: Activties.

Relationship has been setup in model.

 

When I drop the budgeted hours in the matrix, it sums up all the budgeted hours of all projects and shows each project the total. 

 

I was expecting PowerBI to show each project and its budgeted hours. 

FrancisGhao_0-1671541169217.png

Here is the link to file.  Is this related with formula ignoring row-context or another problem? What would be the dax solution and is there any link to documentation regarding this subject or similar samples that I could learn from? 

1 ACCEPTED SOLUTION
SanKing
Helper I
Helper I

Hi @FrancisGhao ,

Change field in matrix 'ProjectName' to have this field from 'ProjectList' Table.

View solution in original post

2 REPLIES 2
SanKing
Helper I
Helper I

Hi @FrancisGhao ,

Change field in matrix 'ProjectName' to have this field from 'ProjectList' Table.

Thank you that solved it.
I still have the grasp the logic. Is it general rule always picking the field from the "one" table of the "one-to-many" when creating report? 

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.