Skip to content

RecordCount contains duplicate entries #2

Description

@gbrueckl

Hi Kasper,
the [RecordCount]-measure contains the count of records for each column. Hence if you select a whole table, the measure does not reflect the number of rows of that table which is probably a bit misleading.
I came up with this calc which should produce "more correct" results
NewRecordCount = SUMX(ADDCOLUMNS(GROUPBY(DatabaseSize, DatabaseSize[Table]), "RecordCountTable", CALCULATE(MAX(DatabaseSize[RecordCount]))), [RecordCountTable])

-gerhard

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions