Forum Discussion
Need to calculate Running Count
- 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.
@ what you are getting? Can you provide more details? Your reply is not helpful?
- ashaykohad4 years ago
Helper I
I am getting total number of rows with this measure.
Let me explain the case
Test 1 used coupon on 29-01-2021
Test 2 used coupon on 30-01-2021
Test 1 used coupon on 31-01-2021
Now What I need is
for the first Row Test 1 count is 1
for the second row Test 2 count is 1
for the third row Test 1 count is 2
and so on..I need the number of counts till row date.