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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. 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
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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.