Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 950

Re: Sales vs Forecast Report

$
0
0

Hi Brandon,

 

The query can only give you the detailed result or grouped result, not both at the same time. So you will have to do the grouping (and percentage calculation thereof) in Crystal.

 

Bad news is, I have no experience with Crystal, so I can't help you there. If the calculation is correct for the details (ItemCodes), then you may have to look at how Crystal adds up the details, and then separately how it calculates the percentage based on those totals.

 

Regards,

Johan

 

P.S. SQL formatting is all in the wrist . But seriously, I generally use Microsoft SQL Management Studio to write queries (and then copy-paste then to B1). It gives you intellisense, color coding, indentation, easier debugging (usually tells which line an error is on), and some tools for optimization (if the query is slow).


Viewing all articles
Browse latest Browse all 950

Trending Articles



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