Forum Discussion
Hash2023
2 years agoFrequent Visitor
Help on DAX statement
Hello Team, I have the below table: Client Code PAX 1010 2 2020 3 1010 2 1010 2 3030 4 I need your help with a DAX formula to calculate the Total Pax but it has to...
MFelix
2 years agoSuper User
Hi Hash2023 ,
Try the following code:
Total PAX = SUMX(SUMMARIZE(Table, Table[Client], Table[CodePAX]), Table[CodePAX])
I'm assuming based on your sample that the CodePAX is always the same for the sames client.
Hash2023
2 years agoFrequent Visitor
Hi Miguel,
Thank you for your help. It works.
Kind Regards,