Forum Discussion
Anonymous
7 years agoNot applicable
help needed
I need to calculate the sum of VCI_RECEIVED_Head on group by feedyard ,pen_id and lot_id .can you help me here . even if the rationid is different but for example in below row2 and row3 are unique...
Arentir
7 years agoResolver III
Hi Anonymous,
My understanding is that you want to have the sum of the unique value of VCI Received_Head group by Lot_Id and Pen_ID.
This measure should work for you.
Measure =
SUMX (
SUMMARIZE ( Table, Table[LOT_ID], Table[PEN_ID], Table[VCI_Received_Head] ),
Table[VCI_Received_Head]
)
Let me know if it works
- Anonymous7 years agoNot applicable
I NEED ONE MORE COLUMN ON GROUP BY THAT IS FEEDYARD COLUMN ALSO .
- Arentir7 years agoResolver III
then add it to the summarize function and you re good to go
- Anonymous7 years agoNot applicable
i am getting error saying sumx should use the expression . VCI_RECEIVED_Head not being determined . can you please check once