Forum Discussion

gardas_swathi's avatar
gardas_swathi
Microsoft Employee
3 years ago
Solved

Memory Issues with DISTINCTCOUNT

HI ,     I am having issues with using DISTINCTCOUNT /COUNTROWS function for my tabular model. Both of them are giving memory related errors. The Fact Table has 500k records and the AggMeasure is a...
  • amitchandak's avatar
    3 years ago

    gardas_swathi , Try

     

    COUNTROWS(FILTER(Values('Fact'Material'[ID]'),[AggMeasure]>0)
    )