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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Kurt4597
Helper I
Helper I

Incorrect Total w/ Sample File

Hi all, 

 

https://www.dropbox.com/s/95pgkz6k1np28qr/Sample%20File.pbix?dl=0

 

Currently experiencing an issue with calculating the total revenue in this table. I have provided a dropbox link to the sample PowerBI file to get a clearer picture of what is going on

 

Kurt4597_0-1655373789435.png

Total Revenue shown as £3,650. However it is incorrect. It should be £1,470 + £1,728 + £408 = £3,606

 

 -Month end sales forecast is simple the (number of sales / current day in the month) * number of days in month. This creates a simple straight line forecast for end of month sales. 

 

- Each provider has a set CPA that does not change. I have a CPA table but was unable to bring in each value so, I simple appended the CPA table to the sales table and just used an "Average" of the CPA to get the same result. I believe this could be where the issue is being caused

 

-Revenue = CPA * Month End Sales Forecast

 

 

 

Any help would be greatly appreciated as I have been stuck on this issue for a few days and am unable to fix the issue

 

Thank you all!

 

https://www.dropbox.com/s/95pgkz6k1np28qr/Sample%20File.pbix?dl=0

 

 

1 ACCEPTED SOLUTION
HotChilli
Community Champion
Community Champion

This is just a quick suggestion:

RevenueTest = SUMX(VALUES(Sales[ProviderName]), [Revenue])

I think I would probably have provider in a dimension table too but see how you get on testing this

View solution in original post

2 REPLIES 2
HotChilli
Community Champion
Community Champion

This is just a quick suggestion:

RevenueTest = SUMX(VALUES(Sales[ProviderName]), [Revenue])

I think I would probably have provider in a dimension table too but see how you get on testing this

Thanks a lot buddy

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.