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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.