Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
iam trying to get the total for this expression.. but getting 0 values
Sum({<$(='[Invoice_T]')={'SPO'}>}$(='[Expense Amount'&[Invoice Type]&' | '&[Rates]&']'))
i tried below but get 0 values
Sum({TOTAL<$(='[Invoice_T]')={'SPO'}>}$(='[Expense Amount'&[Invoice Type]&' | '&[Rates]&']'))
Would you be able to share a sample?
i do not have sample.. it s a very big file..
Sum({<$(='[Invoice_T]')={'SPO'}>}$(='[Expense Amount'&[Invoice Type]&' | '&[Rates]&']')) -this part works and iam using it sometimes..
now i need total
Are these fields are in different tables Expense Amount , Invoice Type , Rates ?
try this
Sum({<$([Invoice_T])={'SPO'}>} $(='[Expense Amount'&[Invoice Type]&' | '&[Rates]&']'))
hi allu wer is total here
so you want sum of Expense Amount , Invoice Type , Rates fields when Invoice_T = SPO ?
i already have the sum but i need the full total now
I am not sure about this ,
Remove $
Sum({<([Invoice_T])={'SPO'}>} $(='[Expense Amount'&[Invoice Type]&' | '&[Rates]&']'))
or
Sum( Total {<([Invoice_T])={'SPO'}>} $(='[Expense Amount'&[Invoice Type]&' | '&[Rates]&']'))
I think you better work with aggr() functions for this