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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Bokazoit
Post Patron
Post Patron

Financial measure estimated values but actual before that

Is it possible to build a measure that asks for the earliest period within the current estimat

 

VAR MinimumPeriod = MIN(FactEstimat[DatePeriod])

 

Then the measure shows FactFinance[Actual] before that MinimumPeriod and Estimated values after that Period. Somthing like this:

ActualAndEstimat = IF (Period < MinimumPeriod, FactFinance[Actual], FactFinans[Estimate] )

I have tried the above but does not seem to work

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Bokazoit , Try like

VAR MinimumPeriod = MINX(allselected(FactEstimat) , FactEstimat[DatePeriod])

return

IF (max(Table[Period]) < MinimumPeriod, Sum(FactFinance[Actual]), Sum(FactFinans[Estimate])  )

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Bokazoit , Try like

VAR MinimumPeriod = MINX(allselected(FactEstimat) , FactEstimat[DatePeriod])

return

IF (max(Table[Period]) < MinimumPeriod, Sum(FactFinance[Actual]), Sum(FactFinans[Estimate])  )

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.