Forum Discussion
bossep999
4 years agoNew Member
Linking "flags" together with multi-level data
We have done some campaigns which generate revenue that we need to compare against each other, including a flag that indicate if the comparisons are statistically significant. Getting these flags to ...
v-yalanwu-msft
Community Support
4 years agoHi, bossep999 ;
Try it.
Measure =
var _young= CALCULATE( COUNT('Campfacts'[ageGroup]),FILTER(ALLSELECTED('Campfacts'),[testVersion]=MAX('Meta'[testVersion])&&[promotionOrder]=MAX('Meta'[promotionOrder])&& [ageGroup]="Young"))
var _old= CALCULATE( COUNT('Campfacts'[ageGroup]),FILTER(ALLSELECTED('Campfacts'),[testVersion]=MAX('Meta'[testVersion])&&[promotionOrder]=MAX('Meta'[promotionOrder])&& [ageGroup]="Old"))
return _young-_old
I don't quite understand your logic, could you share the result you want to output and the specific logic?
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.