Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi all,
I've a dataset with different columns:
- Asset
- Quantity of asset
- Date placed
- Details of the asset
Now I want to make a column that calculates the cummulative quantity of an asset with a specific detail. For example, I want to see how many assets are white based on the dates as well:
Could somewone help me?
Solved! Go to Solution.
Hi @lisannegesch ,
try this calculated column, it works!
Hi @lisannegesch ,
try this calculated column, it works!
Hi @lisannegesch ,
Use the dax like the below to create a new column:
Column = IF('Table'[Details]="white",CALCULATE(SUM('Table'[quantity]),FILTER(ALL('Table'),'Table'[Date]<=EARLIER('Table'[Date])&&'Table'[Details]="white")),BLANK())
Output result:
Best Regards
Lucien
Try:
CALCULATE(
SUM('Table'[Quantity] ),
ALL ('Table'),
'Table'[Details] = "white",
'Table'[Date] <= MAX( 'Table'[Date] )
)
Thanks for your fast reply and help :). I do get a calculation but it isn't cummulative (all the results are the same), it also shows results in the column where the detail isn't met.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!