Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I need to calculate the following -
CREATE_DATE | Total | Records Processed | Record Pending | Measure needed |
3/2/2023 0:00 | 233 | 135 | 98 | 233 |
3/3/2023 0:00 | 35 | 20 | 15 | 170 |
3/4/2023 0:00 | 41 | 38 | 3 | 196 |
3/6/2023 0:00 | 22 | 16 | 6 | 215 |
Please refer the following excelsheet for the formula and details. If i can get your guidance on this it will be a great help.
Solved! Go to Solution.
Hi,
Please check the below picture and the attached pbix file.
Expected result measure: =
VAR _prevprocessed =
CALCULATE (
SUM ( Data[Records Processed] ),
WINDOW (
1,
ABS,
-1,
REL,
ALL ( Data[Date], Data[Records Processed], Data[Record Pending] ),
ORDERBY ( Data[Date], ASC )
)
)
RETURN
IF ( HASONEVALUE ( Data[Date] ), [Total:] + _prevprocessed )
Hi,
Please check the below picture and the attached pbix file.
Expected result measure: =
VAR _prevprocessed =
CALCULATE (
SUM ( Data[Records Processed] ),
WINDOW (
1,
ABS,
-1,
REL,
ALL ( Data[Date], Data[Records Processed], Data[Record Pending] ),
ORDERBY ( Data[Date], ASC )
)
)
RETURN
IF ( HASONEVALUE ( Data[Date] ), [Total:] + _prevprocessed )
Instead of calculated column. When i will be using measures, Will this formula work.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
9 | |
8 | |
8 |
User | Count |
---|---|
14 | |
12 | |
11 | |
11 | |
8 |