Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi there,
I would like some help please. I have the following sample financial data for the years 2019, 2020, 2021. Note that I have a Date Dimension table in my model already, I put the below as reference for the data.
I have SUM measures for the Actual, Budget and Estimates columns currently. I'm creating an additional measure for the following logic:
Any help would be really appreciated. Thank you
Solved! Go to Solution.
@Anonymous , You can have measure like this
Actual_Expense_Budget =
IF(
Max(DimDate[Year]) < YEAR(TODAY()),
[Monthly (Actuals)],
IF(
Max(DimDate[Year]) = YEAR(TODAY()),
[Monthly Estimates],
[Monthly Budgets]
)
)
But this will check row context
@Anonymous , You can have measure like this
Actual_Expense_Budget =
IF(
Max(DimDate[Year]) < YEAR(TODAY()),
[Monthly (Actuals)],
IF(
Max(DimDate[Year]) = YEAR(TODAY()),
[Monthly Estimates],
[Monthly Budgets]
)
)
But this will check row context
Great, thank you so much. I didn't realise it could have been that simple!
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.