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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Wilm117
Helper I
Helper I

Matching Supply and demand on row level using dax

Hi everybody,

 

For a while now I am struggling with an issue in my report. I am creating an overview to monitor supply and demand of people in my organization. So, on the one side I am mapping all the activities in my organization and connecting task codes and the necessary FTe's to cover this activity. And on the other hand I am connecting these task codes to my employee list and note how many FTe these people actually spend on their activities. Sometimes there are multiple people on a single activity, and i can't get my tables right. As you can see in the screenshot below the total's are correct, but on the individual level the values are wrong.

Wilm117_3-1636102447125.png

 

 

I tried a lot with different calculations and changes in my relation model, but i feel like there must be a DAX formula that can do the trick. Below i present a desired outcome where the de supply is subtracted from the demand on row level and where the result is the amount of Fte that still needs to be fill in (i.e. vacant Fte's).

Wilm117_1-1636102248893.png

 

Is there somebody that has experience with this and has some tips on how to apply DAX to this issue? 

 

Thanks!

 

1 REPLY 1
lbendlin
Super User
Super User

Your "FTE on task" column should allow you to calculate the required individual values. Where are you stuck?

 

Please provide sanitized sample data that fully covers your issue. Paste the data into a table in your post or use one of the file services. Please show the expected outcome.

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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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