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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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