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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
NWBI
Frequent Visitor

Deferred Revenue Model

Hello all,

 

I am building a model to calculate and allocate deferred revenue balances for our accounting team.

 

I need to take each annual payment, divide that revenue over 12 months, and assign that amount to each following month for 12 months after payment. I have isolated all annual payments in my data, and I have created a relationship between a date table and Date of Payment [Column1]. My data in use looks somthing like this below:

 

Column1

Date of Payment

 

Column2

Transaction amount

 

Column 3

Defferal period end date (12 months from [Column1])

 

Column 4

Monthly Deferral Amount ([column2]/12)

 

I want to create a simple bar graph which assigns total amount to be deferred [Column4] by month looking forward the next 12 months. New sales are occuring daily and thus this is a constatnly changing value. I used the Dax code below to create a measure:

 

Defferred Revenue Schedule = 
CALCULATE(SUM('Staging vTransactions'[Monthly Deferral Amount]),
Filter(
ALL('Staging vTransactions'[Deferral Period End Date]),
'Staging vTransactions'[Deferral Period End Date]>=max(Dates[Date])))

 

But I cannot get my bar graph to display the deferred revenue amount past the current month, as seen below:

 

Capture.PNG

How to I get the deferred revenue amount (1/12 of original payment) to display on each following month, for only the 12 months directly following sale????

 

Much thanks ahead of time  

1 ACCEPTED SOLUTION
NWBI
Frequent Visitor

no responses...so sad...good thing I am amazing and ended up solving it myself. 

 

eliminate the relationship between the date table and the transaction table (original relationship was between date table[Date] & transactiontable[date of transaction]). Create a filter using the date field in the date table to select desired range for bar graph. All 12 months of the deferral period should display amount to be deferred....

 

thank you me

View solution in original post

1 REPLY 1
NWBI
Frequent Visitor

no responses...so sad...good thing I am amazing and ended up solving it myself. 

 

eliminate the relationship between the date table and the transaction table (original relationship was between date table[Date] & transactiontable[date of transaction]). Create a filter using the date field in the date table to select desired range for bar graph. All 12 months of the deferral period should display amount to be deferred....

 

thank you me

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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