Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

Select that returns a maxof and sum of the same field.

$
0
0

I am querying thru the business connector and I need to get the maxof and sum of the same field.  Since there is no way to alias in AX is this possible?

Here is my query

Select KEY1, maxof(REALCONSUMP), sum(REALCONSUMP) FROM %1 GROUP BY KEY1,PRODID WHERE PRODID == '{0}'

If I use .get_Field("REALCONSUMP") I get the maxof but I dont know how to get the maxof.

Thanks

Brian


Viewing all articles
Browse latest Browse all 175888

Trending Articles



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