Forum Discussion
Kebas_Leech
3 years agoHelper I
Row context problem
Hello everyone, I have a daily target measure that calculates the targets for each day of the month based on a fixed monthly target: (the daily target is always the same each day of that specific...
devanshi
3 years agoHelper V
CountHolidays =
VAR holidays = MINX(FILTER('TableName', [Holiday] = True), COUNT('TableName'))
VAR selectedmonth = CALCULATE(COUNTROWS('TableName'), [Month] = SELECTEDVALUE[Month] && [Hloday] <> True)
RETURN
IF([Holiday] = True, holidays, selectedmonth)
Kebas_Leech
3 years agoHelper I
Couldnt make that measure to work.
[Holidays] is not a measure but a columm -> Tab_Origem[Holidays].
I dont have any measure named [Month] only a data column named Tab_Origem[Data]