Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Distinct Count For More Than One Value

Hi! I am trying to calculate days since an item was last purchased. I know for the datediff function I can not have the same date multiple times. However, I have had multiple different Items purchase...
  • v-henryk-mstf's avatar
    3 years ago

    Hi Anonymous ,

     

    Try below calculated table.

    Table 2 = SUMMARIZE('Table','Table'[Date],'Table'[Item])

     

    If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


    Best Regards,
    Henry


    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Ashish_Mathur's avatar
    3 years ago

    Hi,

    In the Query Editor, select both columns, right click and select "Remove Duplicates".