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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
dashmarley11
Frequent Visitor

SUMPRODUCT to Create Output for Matrix Visual

I already have "Table 1" and "Table 2" setup and I need to use SUMPRODUCT to derive output to then use in a Matrix visual.  The SUMPRODUCT formula is:  =SUMPRODUCT($A$2:$A$36, $D$2:$D$36, AA$2:AA$36) / SUMPRODUCT($A$2:$A$36, AA$2:AA$36).  This will solve for the "12" term in 'Table 2' and will be the same for each of the other terms in Table 2 (24, 36) by moving the column lookups in 'Table 2' (AA, AB, AC).

Table 1

A          B             C            D

TermBase RateTLPFTP Rate
15.32%0.17%5.49%
25.33%0.17%5.50%
35.33%0.17%5.50%
45.32%0.17%5.49%
55.32%0.17%5.49%
65.31%0.17%5.48%
75.30%0.18%5.47%
85.28%0.18%5.47%
95.27%0.19%5.46%
105.26%0.20%5.45%
115.24%0.20%5.45%
125.23%0.21%5.44%
135.20%0.22%5.42%
145.18%0.23%5.40%
155.15%0.23%5.38%
165.12%0.24%5.36%
175.09%0.25%5.34%
185.06%0.26%5.32%
195.04%0.26%5.30%
205.01%0.27%5.28%
214.98%0.28%5.26%
224.95%0.29%5.24%
234.92%0.29%5.22%
244.90%0.30%5.20%
254.88%0.30%5.18%
264.86%0.31%5.16%
274.84%0.31%5.15%
284.82%0.32%5.13%
294.80%0.32%5.12%
304.78%0.33%5.10%
314.76%0.33%5.09%
324.74%0.33%5.07%
334.72%0.34%5.06%
344.70%0.34%5.04%
354.68%0.35%5.03%
364.66%0.35%5.01%

 

Table 2

AA            AB              AC

122436
     81,441     39,705     25,804
     81,780     39,870     25,912
     82,121     40,036     26,020
     82,463     40,203     26,128
     82,807     40,371     26,237
     83,152     40,539     26,346
     83,498     40,708     26,456
     83,846     40,877     26,566
     84,195     41,048     26,677
     84,546     41,219     26,788
     84,899     41,390     26,900
     85,252     41,563     27,012
               -       41,736     27,124
               -       41,910     27,237
               -       42,085     27,351
               -       42,260     27,465
               -       42,436     27,579
               -       42,613     27,694
               -       42,790     27,810
               -       42,969     27,926
               -       43,148     28,042
               -       43,328     28,159
               -       43,508     28,276
               -       43,689     28,394
               -                 -       28,512
               -                 -       28,631
               -                 -       28,750
               -                 -       28,870
               -                 -       28,990
               -                 -       29,111
               -                 -       29,232
               -                 -       29,354
               -                 -       29,477
               -                 -       29,599
               -                 -       29,723
               -                 -       29,847
1 ACCEPTED SOLUTION
Greg_Deckler
Super User
Super User

@dashmarley11   S Excel to DAX Translation - Microsoft Fabric Community


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

1 REPLY 1
Greg_Deckler
Super User
Super User

@dashmarley11   S Excel to DAX Translation - Microsoft Fabric Community


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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