Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi,
I want to put a DAX measure into Power BI desktop but I got an error message as follow:
My DAX expression as follow:
The idea of the formula is to calculate the average ContainerTEU for each ShipmentContainerNumber.
So, I tried to used GROUPBY to aggregate the ShipmentContainerNumber and calculate the average ContainerTEU for each of the ShipmentContainerNumber.
The final product I want to have is to sum up the total of the "Average ContainerTEU" for all the ShipmentContainerNumbers.
Is there anything wrong with the formula or if anything was missing?
Thank you!
Best regards,
Emily
Hi @emilypoon ,
Have you solved your problem?
If you have solved, could you please share the solution or accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.
Best Regards,
Cherry
Hi @emilypoon,
Based on this document, it says that Group by returns a table, not a scalar value.
"Return Value: A table with the selected columns for the groupBy_columnName arguments and the grouped by columns designated by the name arguments."
This is exactly what this error message is saying.
Best Regards,
Cherry
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
76 | |
73 | |
42 | |
36 |
User | Count |
---|---|
109 | |
56 | |
52 | |
48 | |
43 |