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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
wbhite
Helper I
Helper I

Need help understanding how this calculation is working and how to get my desired result

Hello all,

I'm scratching my head trying to figure this one out.  Referring to the image below, you'll see that I have sales listed for a single account for 2 months.  We are trying to calculate the amount of rebates that get applied to those sales in each month based on 15% of the sales, however, PBI is doubling the percentage because (I assume) there are 2 records.

 

For example, in the first line (period 8), the REBATES amount is being calculated at 30% (15% x 2 records) instead of just 15%.  The same is true for the second line.  Any thoughts or suggestions?  Thanks!

 

tempsnip.png

2 REPLIES 2
v-yuta-msft
Community Support
Community Support

Hi wbhite,

 

Is REBATES% a calculate column or a measure? Could you show the DAX formula of REBATES% so that further analysis can be done?

 

Regards,

Jimmy Tao

Sorry for the late reply.  [REBATES %] is a data column from the source. [REBATES] is a measure:

REBATES = SUM(tblSalesOrderHistory_From_F55DWNSLSM[EXTENDED PRICE])*SUM(tblOtherCustomerCosts[REBATES %])

 

[EXTENDED PRICE] (Sales $) comes from one data source and [REBATES %] from another, both related by customer account # with a "middle man" table since I don't have many-to-many enabled.

 

Thanks.

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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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