Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Good morning,
I have searched the threads and am struggling to find a solution to my problem. I have a data table of student withdrawals that contains the following columns:
Term Withdrawal Date Start Date Days from Start withdrawal occured
2021sp 01/26/21 01/06/21 20
2021sp 02/03/21 01/06/21 28
2021sp 01/26/21 01/06/21 20
2021sp 02/02/21 01/06/21 27
2021sp 02/03/21 01/06/21 28
Within this table, each term will have multiple withdrawals on the different withdrawal dates. I would like be able to count the number of withdrawals occuring on each date per term AND create a running total of withdrawals per term. For example, on 1/26 there were 2 withdrawals, on 2/2 there was one, and on 2/3 there were 2; at the end of 2/3 the cumulative withdrawals for 2021sp would be 5.
How would I do both of these calculations?
Thank you!
Solved! Go to Solution.
you can try
Measure = calculate(COUNTROWS('Table (2)'),FILTER(all('Table (2)'),'Table (2)'[Withdrawal Date]<=max('Table (2)'[Withdrawal Date])))
Proud to be a Super User!
Hi @erica_cara ,
Please create the following measure:
number of withdrawals = COUNT('Table'[Withdrawal Date])
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you for your reply. Rather than having a total number of withdrawals tallied in a table, I need the data to show like this:
1/26/21 = 2
2/2/21 = 3
2/3/21 = 5
I need this in a way I could show it on a line graph.
you can try
Measure = calculate(COUNTROWS('Table (2)'),FILTER(all('Table (2)'),'Table (2)'[Withdrawal Date]<=max('Table (2)'[Withdrawal Date])))
Proud to be a Super User!