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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
dashmarley11
Helper I
Helper I

Creating New Table with SUMPRODUCT from Existing Tables

I have 2 separate tables (PmtTable, RateTable) that I'd like to use to create a new table (NewTable) that has a SUMPRODUCT calculation that is derived using the two original tables.  Using Excel it would look something like this:   
=SUMPRODUCT('RateTable'[A:A], 'RateTable'[E:E], 'PmtTable'[E:E] / SUMPRODUCT('RateTable'[A:A], 'PmtTable'[E:E])

 

RateTable

  A            B               C                D                 E

TermRate_012Rate_024Rate_036Rate_048
1.05438.051989.050373.04967
2.05318.052763.055737.04896

 

PmtTable

 A              B               C               D                 E

TermRate_012Rate_024Rate_036Rate_048
181441397042580418862
281780398702591119273

 

1 REPLY 1
v-nuoc-msft
Community Support
Community Support

Hi @dashmarley11 

 

There seems to be something wrong with the code you provided, and I don't quite understand what you need.

 

If you can, please provide some dummy data and desired results. It is best presented in table form.

 

Regards,

Nono Chen

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.