The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I know that my table must be wack.
So simple: trying to do a running total of "Yes" values in the "Automated" column by "created" date in the table "Tests". I have a total of 26 tests that are automated in the entire table. The calculated column keeps putting 26 for every row in the entire column.
Solved! Go to Solution.
Hey @KingBombo
Try this:
Running Total of Automated Tests =
VAR _A =
FILTER (
Tests,
Tests[Created] <= EARLIER ( Tests[Created] )
&& Tests[Automated] = "Yes"
)
RETURN
COUNTROWS ( _A )
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Hey, thanks for the quick reply. This was an interesting method and helped some, but it put values in for rows where the automated flag was blank and no was well for some reason.
I added to your solution to write this:
Hey @KingBombo
Try this:
Running Total of Automated Tests =
VAR _A =
FILTER (
Tests,
Tests[Created] <= EARLIER ( Tests[Created] )
&& Tests[Automated] = "Yes"
)
RETURN
COUNTROWS ( _A )
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Hey, thanks for the quick reply. This was an interesting method and helped some, but it put values in for rows where the automated flag was blank and no was well for some reason.
I added to your solution to write this:
User | Count |
---|---|
25 | |
12 | |
8 | |
8 | |
7 |
User | Count |
---|---|
27 | |
12 | |
12 | |
12 | |
6 |