The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Good Day,
I am trying to get a running total by year but am just getting the total of each year. What I am wanting is a running total by year. So for instance 2018 has 1085 as the count and 2019 has 12404 as the count on the matrix I would like 2019 to be a sum of 2018 & 2019 and to continue on for the rest of the years. Can someone help me through this madness?
Current Formula:
Many Thanks,
Your friendly neighborhood Lydia
Solved! Go to Solution.
@Anonymous Try Better Running Total: Better Running Total - Microsoft Power BI Community
Better RT =
VAR __Date = MAX('Assets'[Created_Date])
VAR __Table = FILTER(ALLSELECTED('Assets'),[Created_Date] <= __Date)
RETURN
SUMX(__Table,[Status Bit])
@Anonymous Try Better Running Total: Better Running Total - Microsoft Power BI Community
Better RT =
VAR __Date = MAX('Assets'[Created_Date])
VAR __Table = FILTER(ALLSELECTED('Assets'),[Created_Date] <= __Date)
RETURN
SUMX(__Table,[Status Bit])
User | Count |
---|---|
24 | |
9 | |
8 | |
7 | |
6 |
User | Count |
---|---|
29 | |
11 | |
11 | |
9 | |
9 |