Forum Discussion

TimothyTham's avatar
TimothyTham
Frequent Visitor
6 years ago
Solved

Sum The Column Based on Distinct Row of Another Column

Dear L&G,

 

I need to display the capacity based on the venue that users login at specific day where the venue need to be distinct to avoid double count. Final display will be as Figure below.

I tried to use Measure = MAXX(DISTINCT('TABLE'[VENUE]), SUM('TABLE'[CAPACITY])) but the number was not correct.

Hope that the experts here can help to suggest a code.

Thank you in advance.

 

Tim

 

Table

 

Figure

 

 

6 Replies