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.
@ 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.
is it possible to create the measure for "count number of rows whose above column values are greater than 1".
Without creating this column seperatly.
output
Name Date count Frequency (Name)
Test1 29-01-2022 1
Test2 30-01-2022 1
Test3 30-01-2022 1
Test1 30-01-2022 2
Test1 31-01-2022 3
Test4 01-02-2022 1
Test3 01-02-2022 2
Test5 02-02-2022 1
So required measeure output = 3
Dont want to create separate column as this is not working for 5L+ entries.
So required direct measure.
Thanks in Advance..