Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
vickyprudhvi352
Microsoft Employee
Microsoft Employee

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
0 REPLIES 0

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.