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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
FoolzRailer
Helper I
Helper I

Target vs actuals month basis

Hello 

 

I'm trying to do some visuals for some projects I'm working on, where I have a Target for the project which is static, and a monthly update of what has been invoiced. 

 

So far I've added the data to PowerBI, created a date table and linked the projectnumbers with relations. 

 

What I would like to do is see how much of the TargetBudget has Invoiced used on a montly basis. My issue is I can't really figure out how do I calculate the remaining budget based on what has been invoiced?

 

FoolzRailer_0-1654244289571.png

 

What I'm aiming at/near, when I'm finished is something similar to this Dashboard layout:

FoolzRailer_1-1654244743340.png

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@FoolzRailer , Make sure both table are joined to common project table. No need to join target to date table

 

remaining example 

 

sumx(project, calculate(Sum(Invoice[Amount]) - Sum(Target[Amount]) ) )

 

or

 

sumx(values(project[project]) , calculate(Sum(Invoice[Amount]) - Sum(Target[Amount]) ) )

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@FoolzRailer , Make sure both table are joined to common project table. No need to join target to date table

 

remaining example 

 

sumx(project, calculate(Sum(Invoice[Amount]) - Sum(Target[Amount]) ) )

 

or

 

sumx(values(project[project]) , calculate(Sum(Invoice[Amount]) - Sum(Target[Amount]) ) )

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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