Quantcast
Channel: Custom Column with nested SUMIF
Viewing all articles
Browse latest Browse all 2

Custom Column with nested SUMIF

$
0
0

Hi,

I am trying to replicate an excel formula in Power Query but can't get the SUMIF portion to work but I don't know the comparative formula in M.

This what I am trying to replicate:

=IF(DATA!$H7="",DATA!$G7-(SUMIF(A:A,DATA!$A7,M:M)),"")

This is as far as I got (no laughing):

if(Text.Contains[Order Number] ) then ([Payment Amount] - CALCULATE(SUM([Paid amount currency]), FILTER([Payment]=[Payment]))) else ""

I don't get a syntax error but it return expression error for calculate...I'm so confused as I got expression error with sumif too.  I am fine in excel but trying to teach myself using google!!


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>