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
AnalystPower
Helper I
Helper I

Budget Running total forecast with a actual running total to date

Budget vs Actual comparison that I need the actual to stop on today's date vs flatlining. 
 
Capture.PNG

 

Current formula
Actual Running Total = CALCULATE(
CALCULATE(
SUM(ActifyViewCAS[BudDollars]),
FILTER(
ALLSELECTED(ActifyViewCAS),
ActifyViewCAS[Period] <= MAX(ActifyViewCAS[Period]) && ActifyViewCAS[BaseJob]="job value")
1 ACCEPTED SOLUTION

I got it! @AlB  Thank you for helping me think outside the box!
 
Actual Running Total =
IF( TODAY()>=MAX(ActifyViewCAS[Period]),
CALCULATE(
SUM(ActifyViewCAS[ActDollars]),
FILTER(ALLSELECTED(ActifyViewCAS),ActifyViewCAS[Period] <= MAX(ActifyViewCAS[Period]) && ActifyViewCAS[BaseJob]="JOB Num")
)Capture.PNG

 

View solution in original post

2 REPLIES 2
AlB
Super User
Super User

Hi @AnalystPower 

How about something like: 

Actual Running Total =
IF( DateInVisual <= TODAY(), show what you have)

if DateInVisual > TODAY the measure will return blank and that won't be displayed

I got it! @AlB  Thank you for helping me think outside the box!
 
Actual Running Total =
IF( TODAY()>=MAX(ActifyViewCAS[Period]),
CALCULATE(
SUM(ActifyViewCAS[ActDollars]),
FILTER(ALLSELECTED(ActifyViewCAS),ActifyViewCAS[Period] <= MAX(ActifyViewCAS[Period]) && ActifyViewCAS[BaseJob]="JOB Num")
)Capture.PNG

 

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.