Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!View all the Fabric Data Days sessions on demand. View schedule
Hi All,
I have a date hierarchy filter - Year, Quarter, Month.
I need to show value [Actual] if the date selected in the filter in less than June 2023. If greater than June 2023 show [Plan].
The below works, but the data will get added going forward 2024, 2025. Can some help if there is any alternate solution for this.
Solved! Go to Solution.
@Prabha45
Please try this measure:
Measure =
Var ParameterDate = DATE( 2023 , 6 , 30 )
Var SelectedDate = MAX(Dates[Date_].[Date])
Var Result =
IF(
SelectedDate <= ParameterDate,
[actual],
[plan]
)
RETURN
Result
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Prabha45
Please try this measure:
Measure =
Var ParameterDate = DATE( 2023 , 6 , 30 )
Var SelectedDate = MAX(Dates[Date_].[Date])
Var Result =
IF(
SelectedDate <= ParameterDate,
[actual],
[plan]
)
RETURN
Result
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!