Forum Discussion
Constant Threshold calculation
- Anonymous4 years ago
Hi vincentllx ,
Please update the formula of your measure [Moy2019] as below and check whether you can get your expected result.
Moy2019 = DIVIDE ( CALCULATE ( COUNT ( '2020 - 2022'[NoEvenement] ), FILTER ( ALLSELECTED ( '2020 - 2022' ), '2020 - 2022'[Année financière] = "2019-2020" && '2020 - 2022'[Période] < 6 ) ), 5 )If the above one still can't help you the expected result, please provide some sample data in the table '2020-2022' and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file with me. Thank you.
Best Regards
Hi vincentllx ,
Please update the formula of your measure [Moy2019] as below and check whether you can get your expected result.
Moy2019 =
DIVIDE (
CALCULATE (
COUNT ( '2020 - 2022'[NoEvenement] ),
FILTER (
ALLSELECTED ( '2020 - 2022' ),
'2020 - 2022'[Année financière] = "2019-2020"
&& '2020 - 2022'[Période] < 6
)
),
5
)
If the above one still can't help you the expected result, please provide some sample data in the table '2020-2022' and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file with me. Thank you.
Best Regards