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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
Super User
Super User

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
Super User
Super User

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors