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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Deferred Revenue

Hello Community  -  I have a situation where my accounting team wants to see (in a matrix table), our combined deferred and undefered revenue.   Right now I have a measure for shipped revenue which is just a simple SUM of shipped price.   

 

I also have a measure that just calculates the "deferred revenue".   Essentially, this is the date the revenue was actually recognized based on proof of delivery (and accounting rules).   That is the measure below. 

 

My challenge is that if I put the Accounting measure below into a matrix table, it no longer shows the other dates (it only months from the date table that have a Revenue Date).   This measure has been used in the table on the right. 

 

On the other hand, if I just use my Shipped Revenue measure (left table), it of course captures the original ship date, which is not the actual date that the revenue was recognized which is what Accounting looks at. 

 

I'm looking to create/modify a measure that allows both of these values to co-exist, without double counting them.   Any ideas?  I tried creating two different VAR statement, one for accounting revenue and one for shipped revenue, along with some conditional logic but could not work out the DAX.    Any help is appreciated!

 

Accounting Shipped Revenue =
//Includes Deferred Revenue//
CALCULATE (
    [Shipped Revenue],
    USERELATIONSHIP ( ShippedOrdersALL_Query[RevenueDate], 'Dim_Date Table'[Date])
)
 
texmexdragon2_0-1660924214784.png

 

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous ,

In order to better understand your demands and give the right solution, could you please provide some more specific information? such as your desensitized example data and a screenshot of your desired results?

Thanks for your efforts & time in advance.

 

Best regards,
Community Support Team_ Binbin Yu

amitchandak
Super User
Super User

@Anonymous , with common date and account tables, you can use both measures together.

 

You need to use the period from date columns

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
Anonymous
Not applicable

@amitchandak   Yes, that does work (see below), but is ultimately not what I am hoping to achieve. 

 

My ideal scenario would be to have another Measure that has the logic built in from the Accounting Shipped Revenue measure, that still shows all of the months  (not just the months that have a Revenue Date).   In other words, something like an ALL function that still allows for all dates to be shown.   Right now if I just were to use the Accounting Rev measure, it will only show values that have a Revenue Date.   Ideally there would be logic that states "if deferred equals true" show the deferred value based on the revenue date, and if false, then show the shipped value (based on shipped date).    This would have to be at the Order Line level, since an order can have multiple lines...some deferred, some not.  As is the case below.  Line one technically did ship in April, but because it was only received by the customer in May, the revenue was deferred until May. 

 

texmexdragon2_0-1660927780218.png

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.