Forum Discussion

MichaelH78's avatar
MichaelH78
Frequent Visitor
2 years ago
Solved

Measure that counts in second column

Hi, I have a table with three columns: - Person number - Primary residence (city) - Secondary residence (city) Person number Primary residence (city) Secondary residence (city) 1 City 1 ...
  • MichaelH78's avatar
    MichaelH78
    2 years ago

    I have solved it simply: With an additional column in data, which calculates the number per primary residence location, but in primary and secondary residence. This means that all rows with the same location always contain the same value.
    The measure then only needs to add a MAX (or MIN or AVG) to the new column 😉