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
Kletzy
Advocate III
Advocate III

dax

Good day

 

I'm looking for assistanceplease  with a measure that I require to return the "Cost"  (sum of Cost) where TableA[Allocation month] = TableB[Report date] less one month. Basically I am looking to return the bold numbers below (sum of Cost at each date) in a format that I can use as a line on a chart (with the allocation month as the axis):

 

  Report Date
  JanFebMarAprMayJun
 Jan246253220401145188
 Feb 473267326170239341
 Mar285190492349191381
Allocation monthApr212152339280395110
 May213118105494103331
 Jun166356225395366424
 Jul366253260318462467
 Aug362372243490249213
 Sep326283368334202240
 Oct328484452295413465
 Nov162219271415402172
 Dec270218232200371439

 

Thank you for any help

1 REPLY 1
Anonymous
Not applicable

Hi @Kletzy,

 

Please share some sample data for test.

 

Regards,

Xiaoxin Sheng

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!

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.

Top Solution Authors
Top Kudoed Authors