Forum Discussion

vickyprudhvi352's avatar
vickyprudhvi352
Microsoft Employee
3 years ago

Count all Calculation Group Item

Hi,

 

We have 10 different calculation Group Items in a table. We want to restrict the user to select only one calculation group item. if they select more than 1 then measure will throw an error. we want to apply that logic inside the calculation Group Item. but we are unable to count calculation Group item even when we use

COUNTROWS(ALLSELECTED('CalculationItemGroupTable')). As it is showing the count outside the calculationGroup.
I want the result as below
CalculationItemValue  Count
Item1                             2
Item2                             2
 
 
 
Please help. Thank you
No RepliesBe the first to reply