Forum Discussion
08Tedz40
3 years agoFrequent Visitor
Help finding correct DAX.
I need some help fining the correct Dax to so that this ADA doesn't break when it combimes the Multi years. they seem to work at the month level and year but once you start selecting multi years the ...
- 3 years ago
I was able to fix it with these 2 functions.
Average Attendance (AMA) = CALCULATE(IF([Program Months]>[Progarm Months Ran],[Average Yearly Attendace (AYA)]/[Progarm Months Ran],[Average Yearly Attendace (AYA)]/[Program Months]))
Average Yearly Attendace (AYA) = CALCULATE(SUM([ADA])/[Program Year])
08Tedz40
3 years agoFrequent Visitor
I was able to fix it with these 2 functions.
Average Attendance (AMA) = CALCULATE(IF([Program Months]>[Progarm Months Ran],[Average Yearly Attendace (AYA)]/[Progarm Months Ran],[Average Yearly Attendace (AYA)]/[Program Months]))
Average Yearly Attendace (AYA) = CALCULATE(SUM([ADA])/[Program Year])