Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

DAX max of

Hi, 

 

I'm using the formula 

sumx(DISTINCT(Table1[Customer ID]),([Max of TO])) and it works fine - I have the sum of max TO per a disinct Custemer ID, 

 

Unfortunatly the same formula dosent works for onather Value and I cant find why - 'Max of' can't be calcualted

 

Both are Currency, decimal. 

 

Thank you. 

1 ACCEPTED SOLUTION

@Anonymous,

Glad to hear the issue is solved. You can accept your reply as answer to close this thread.

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-yuezhe-msft
Employee
Employee

@Anonymous,

Please share sample data of your table, and post the formula that you use to create ‘Max of’.

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi, thank you!

I found how to solve it.

it works good in the first case because excel creates automatically a hide formula for calculation of max of TO…

sumx(DISTINCT(Table1[Customer ID]),([Max of TO]))

 

for the columns that the abouve formula dosen’t works there is no such hidden formula automaticaly created (i dont know why)

I write it manually and it’s working now.

@Anonymous,

Glad to hear the issue is solved. You can accept your reply as answer to close this thread.

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.