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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.