Forum Discussion
ashaykohad
Helper I
4 years agoNeed to calculate Running Count
Need to count frequency of Occurrence before certain date Example, Input Name Date Test1 29-01-2022 Test2 30-01-2022 ...
- 4 years ago
@ use this for column
Column = VAR __d = 'Table (2)'[Date] RETURN CALCULATE ( COUNTROWS ('Table (2)' ) , ALLEXCEPT ( 'Table (2)','Table (2)'[Name] ),'Table (2)'[Date] <= __d )✨ Follow us on LinkedIn and to our YouTube channel
Learn about conditional formatting at Microsoft Reactor
My latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡ Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.
parry2k
Super User
4 years ago@ that's exactly what the solution I provided will do:
here is the screenshot:
ashaykohad
Helper I
4 years agoDon't know why I am not getting this result
frequency of visit = CALCULATE(COUNTROWS('bike_job_record'), FILTER( ALL('bike_job_record'), 'bike_job_record'[Entry Time] <=MAX('bike_job_record'[Entry Time])),VALUES('bike_job_record'[bo id]))
only difference is in my case "bo id" is numeric value not the text.
Just remove the Test in first column
only difference is in my case "bo id" is numeric value not the text.
Just remove the Test in first column