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
MichalB
New Member

Adding to the total value of invoices, the stock value only in this month.

Hello,

I have a problem with creating a DAX formula with filtering. I have a table as below and the idea is to add the value of yet uninvoiced stock items to the latest value in the row with year 2023 and column with month 1. The invoice table is 'HM DK', the values I add in this column according to month and year are 'HM DK'[Gross], while in the newest cell this year, this month I would have to add the table 'HM TR'[Value] and from it all the items occurring in this month. Both the 'HM DK' and HM TR tables also contain a [Date] column. For now, my formula adds the same value (the sum of 'HM TR'[Value]) to all values, from all months.
Thank you very much in advance for your help.
Zrzut ekranu 2023-01-24 o 09.37.28.pngZrzut ekranu 2023-01-24 o 10.39.59.png

0 REPLIES 0

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.