Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hey All,
I have a hierarchy that goes Division - Group - Sub Group. I'm trying to return a division average that can apply to both the group and subgroup. I've tried variations on the formula below but the best I can return is a division rate that only applies at the Group level but not the subgroup.
Division Rate = if(ISFILTERED(dimGroup[Group]), AVERAGEX( KEEPFILTERS(VALUES(dimDivision[Division])), CALCULATE([Rate],all(dimGroup[Group]))), "FALSE")
The tables below show what I'm returning - you'll see the division rate in the group table matches the respective divisions in the division table and I want the same to apply to the sub grouping. Thanks in advance!
Hi @Anonymous,
Have you tied replacing dimGroup[Group] with dimSubGroup[SubGroup] in above measure formula to test if it can return expected result?
Regards,
Yuliana Gu
User | Count |
---|---|
93 | |
83 | |
77 | |
73 | |
66 |
User | Count |
---|---|
115 | |
105 | |
93 | |
65 | |
60 |