Forum Discussion
Multiple measures based on table row values
- 1 year ago
Hi elamad2024 - modify your condition to check all of 2025
Belastning Average_Utv =
VAR SelectedDate = SELECTEDVALUE(DimDate[Date].[Date])
VAR DateFilter = DATESBETWEEN(DimDate[Date], DATE(2024,8,19), DATE(2025,12,31))
RETURN
IF(
YEAR(SelectedDate) < 2025,
CALCULATE(AVERAGE(Data[OnboardAtDep]), Data[OnboardAtDep] < 150 && Data[OnboardAtDep] >= 0),
CALCULATE(AVERAGE(fact_sl_regular_traffic[adjusted_onboard_count]), fact_sl_regular_traffic[adjusted_onboard_count] < 150 && fact_sl_regular_traffic[adjusted_onboard_count] >= 0)
)Hope this helps.
Hi elamad2024
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.