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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Jon_Znavor
New Member

Revenue Calculations

I am trying to calculate the revenue my company would retain after COGs or the gross profit.  I have this formula currently

 

Gross = [Total Charges] (in revenue) - [Journal Expenses].  and I have the page filtered to only include the necessary expenses.  However I know one of the calculations is off as part of the pay went through my AP to pay another carrier who moved the load, but it currently shows we retainted a majority of the revenue.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Jon_Znavor ,
Thank you for reaching out to us!


It looks like overstates retained revenue because it doesn't account for AP payments to external carriers.Upon my understanding,I tried to recreate it locally with my sample data.
To fix this, you may need to update the gross profit calculation by including AP costs.
Use below measures:
1. TotalJournalExpenses = SUM('Journal Expenses Table'[Amount])

2. TotalAPPayments = SUM('AP Carrier Payments Table'[Amount])

3. TotalCosts = [TotalJournalExpenses] + [TotalAPPayments]

4. GrossProfit = SUM('Revenue Table'[TotalCharges]) - [TotalCosts]

Then, used a Matrix visual by LoadID to validate all components—charges, journal expenses, AP payments, and actual gross profit. This might give you a clearer picture of true revenue retention.

Attaching the sample file.

If this solution meets your requirement,consider accepting it as solution.If still facing any issue,feel free to contact us with detailed information.

Regards,
Pallavi.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @Jon_Znavor ,
I wanted to check in on your situation regarding the issue. Have you resolved it? If you have, please consider marking the reply that helped you or sharing your solution. It would be greatly appreciated by others in the community who may have the same question.
Thank you.

Anonymous
Not applicable

Hi @Jon_Znavor ,
I wanted to follow up on our previous suggestions regarding the issue you are facing. We would like to hear back from you to ensure we can assist you further. If our response has addressed your query, please accept it as a solution and give a ‘Kudos’ so other members can easily find it. 
Thank you.

Anonymous
Not applicable

Hi @Jon_Znavor ,
Has the issue been resolved on your end? If so, please share your solution and mark it as "Accept as Solution." This will assist others in the community who are dealing with similar problems and help them find a solution more quickly.
Thank you.

Anonymous
Not applicable

Hi @Jon_Znavor ,
Thank you for reaching out to us!


It looks like overstates retained revenue because it doesn't account for AP payments to external carriers.Upon my understanding,I tried to recreate it locally with my sample data.
To fix this, you may need to update the gross profit calculation by including AP costs.
Use below measures:
1. TotalJournalExpenses = SUM('Journal Expenses Table'[Amount])

2. TotalAPPayments = SUM('AP Carrier Payments Table'[Amount])

3. TotalCosts = [TotalJournalExpenses] + [TotalAPPayments]

4. GrossProfit = SUM('Revenue Table'[TotalCharges]) - [TotalCosts]

Then, used a Matrix visual by LoadID to validate all components—charges, journal expenses, AP payments, and actual gross profit. This might give you a clearer picture of true revenue retention.

Attaching the sample file.

If this solution meets your requirement,consider accepting it as solution.If still facing any issue,feel free to contact us with detailed information.

Regards,
Pallavi.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.