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
romain-fayoux
Regular Visitor

Simple calculation : Capacity - scheduled in MS Project

Hi,

 

I am just naively trying to calculate the capacity - schedule = available time by ressource in MS Project.

 

I managed to create a table with side by side the capacity and scheduled time by ressource by day, by joining several tables.

 

But when I enter a new column (Disponibilité is Availability in French) :

 

Disponibilité = sum('JeuDonnéesChronologiquesRessource'[Capacité]) - sum('JeuDonnéesChronologiquesAffectation'[AffectationTravail])

 

then the calculation adds ALL capacities and schedules, and does not break it down by date ? What am I doing wrong ? Thanks,

 

2016-04-07_10-12-23.png

3 REPLIES 3
MattAllington
Community Champion
Community Champion

Welcome to Power BI.  Power BI is a "system" of 3 interrelated concepts - tables, relationships and formulas.  It is not possible to provide an answer to your question without visiblity of all 3 of these things.  So if you can describe your tables, describe your relationships and any relevant formulas, then someone will be able to help.  Better still, create a simple sample workbook that shows the problem and post that.



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

Ok, I understand, I have actually created a new measure, rather than a new colum, and this magically solved the issue. Thanks for your help, I'll try to be clearer nex time.

Hi

I know this is an old thread but I am trying to do the same thing. what was the measure you created to fix the issue?

Thanks for your help

Matt

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!

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.