Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I'm trying to get the number of tickets per operator
so i tried to use group by but it gives me this error every single time
Solved! Go to Solution.
Hi, @MohamedAtef ;
As mentioned , The GROUPBY function returns a table. So if grouping you can use the allexcept() function; Convert the above formula to the following format:
Number =
CALCULATE (
COUNT ( Dim_Operator[Operator_Key),allexcept(Dim_Operator,Dim_Operator[Operator1] )
)
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.
Hi, @MohamedAtef ;
As mentioned , The GROUPBY function returns a table. So if grouping you can use the allexcept() function; Convert the above formula to the following format:
Number =
CALCULATE (
COUNT ( Dim_Operator[Operator_Key),allexcept(Dim_Operator,Dim_Operator[Operator1] )
)
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.
A measure can only output a single value. The GROUPBY function returns a table.