Forum Discussion
Today Function referencing a Date Column to Count Rows as of Today then Retain Count
- Anonymous2 years ago
Hi Casey_Alderson ,
Here I create a sample to have a test.
Unique Learners:
I suggest you to create a 'Rolling Count of Unique Users' as a calculated table.
Rolling Count of Unique Users = CALENDAR(MIN('Unique Learners'[Date]),TODAY())Calculated Column:
Total_Count_Until_Today = CALCULATE ( COUNT('Unique Learners'[Employee ID]), FILTER ( 'Unique Learners', 'Unique Learners'[Date]<= EARLIER('Rolling Count of Unique Users'[Date]) ))+0Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I cannot help you with getting your file and seeing the exact expected result.
I appreciate your time trying to help. I've been researching the community quite a bit and it seems this functionality doesn't exsit within a BI only solution. I might be able to incorporate Power Automate and get something to work.
Thanks again and have a great week!
- Anonymous2 years agoNot applicable
Hi Casey_Alderson ,
Here I create a sample to have a test.
Unique Learners:
I suggest you to create a 'Rolling Count of Unique Users' as a calculated table.
Rolling Count of Unique Users = CALENDAR(MIN('Unique Learners'[Date]),TODAY())Calculated Column:
Total_Count_Until_Today = CALCULATE ( COUNT('Unique Learners'[Employee ID]), FILTER ( 'Unique Learners', 'Unique Learners'[Date]<= EARLIER('Rolling Count of Unique Users'[Date]) ))+0Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Casey_Alderson2 years agoHelper I
This worked amazingly! I did have to create the Date for the Unique Learners table but that was as easy as a calculated column to filter that table by the Employee ID and pull the earliest date they show up on the report. From there is was really straight forward to use your calculations. Thank you so much!!