Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Vinod_P
Helper I
Helper I

Arears in single column

Created this report in power BI , Looking for an arears only on column instead of spreading across all the dates. 

Arears = cumulative supply - cumulative demand with date filter as max of previous month. 

 

Vinod_P_1-1687442411315.png

Below sample snap FYR

Vinod_P_2-1687442767966.png

 

 

 

1 REPLY 1
amitchandak
Super User
Super User

@Vinod_P , Try like

 

CALCULATE(SUM(Table[Supply]),filter(date,date[date] <=maxx(date,date[date]))) - CALCULATE(SUM(Table[Demand),filter(date,date[date] <=eomonth(maxx(date,date[date]),-1) ))

 

 

 

Something similar to below one, with use eomonth to move to last month

Power BI Inventory On Hand
Power BI Inventory On Hand: https://youtu.be/nKbJ9Cpb-Aw

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.