Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Greeting members
i have 2 fact tables : Fact_School where there is all details about the school everyday and another table called School_target where i have the target detail per month .
Fact _School :
School_target :
both tables have a relation with a Dim_date and dim_class .
what im trying to calculate is the pourcentage of charge acheived and the pourcentage of charge acheived YTD.
Thanks all for your help.
Solved! Go to Solution.
@Anonymous
Create measures like
Ratio= divide(Sum(fact_school[Charges]), sum(Target[Target]))
Ratio YTD = calculate([Ratio], datesytd(Date[Date]))
Along with common date table, have common school table too
@Anonymous
Create measures like
Ratio= divide(Sum(fact_school[Charges]), sum(Target[Target]))
Ratio YTD = calculate([Ratio], datesytd(Date[Date]))
Along with common date table, have common school table too