Forum Discussion

cfahner's avatar
cfahner
Frequent Visitor
4 years ago
Solved

Custom Month for Transactions

Hello,

  I am working on an accounting report and want to denote the month that the transaction occured but those months based on our financial calendar. 

 

I have a table created that breaks down each month

 

StartDateEndDateMonth
01/03/2101/30/21January
01/31/212/27/21February

 

 

Then I have a transaction table 

 

JobAccounting_DateTotal_AmountTransaction_TypeMonth
XXX-XXX01/15/21 12:00:00 AM380EQ Cost 

 

Just as a test I had a measure for the Month colum as 

Month = IF('Union Billing-JC'[Accounting_Date] >= DATE(2021,1,3) && 'Union Billing-JC'[Accounting_Date] <= DATE(2021,1,30), "January", "")
 
What I am looking to do is based on the transaction date and what range it falls into put the month name in the transactions table so I can filter transactions by month name.

3 Replies