Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.