Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago

Count DISTINCT values within custom date length, inside date period then add if another occurs

I need to count a distinct amount of values within a specified period (6 months). If the value appears again after 6 months it should be counted again. e.g. if  a date period of 7 months is selected and the value appears in the first 6 months and then again on the 7th month it should be a count of 2 even though it is a distinct count

 

I have tried many ways of trying this to no luck so far. Thanks for any help

2 Replies

  • v-yalanwu-msft's avatar
    v-yalanwu-msft
    Icon for Community Support rankCommunity Support

    Hi, Anonymous ;

    Can you give a simple example and show a screenshot of what you want to output? It's easier to understand and solve.


    Best Regards,
    Community Support Team _ Yalan Wu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • v-yalanwu-msft's avatar
    v-yalanwu-msft
    Icon for Community Support rankCommunity Support

    Hi, Anonymous ;

    Is your problem solved? If so, kindly mark the proper reply as a solution to help others having the similar issue and close the case. If not, let me know and I'll try to help you further.


    Best Regards,
    Community Support Team _ Yalan Wu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.