Quantcast
Channel: SCN : Discussion List - SAP Sourcing
Viewing all articles
Browse latest Browse all 1416

Using COUNT in a query and showing rows with count 0

$
0
0

Hi All,

 

I have been creating reports that use the COUNT function to calculate the number of documents at each phase, however I am struggling to get a row to show in the report if there are 0 documents at a phase.

 

For example I can easily create a report that shows:

 

Project Phase
Count of Projects at this phase
Phase 13
Phase 25
Phase 42

 

 

I actually want this to show:

Project Phase
Count of Projects at this phase
Phase 13
Phase 25
Phase 30
Phase 42

 

Does anyone have any advice or example code that would help me achieve this?

 

Many thanks

 

Dan


Viewing all articles
Browse latest Browse all 1416

Trending Articles



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