Forum Discussion

DebbieE's avatar
DebbieE
Community Champion
2 years ago
Solved

KPIs visuals Running incredibly slowly

Desktop and Service I have a star schema. The model has 9 tables and is 108.61 MB in size.   I have created DAX For DISTINCTCOUNT and then DAX for SAMEPERIODLASTYEAR to add as the goal value.   ...
  • Syk's avatar
    Syk
    2 years ago

    You can try to use other functions to mimic the distinct count. Instead of counting from the fact table, we can use it to filter. Try this

    Distinct Persons=
    CALCULATE (
        SUMX (
            VALUES ( Dimension_Table[PersonID] ), 
            1
        ),
        Fact_Table
    )