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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.