Quantcast
Channel: SCN : Unanswered Discussions - SAP Crystal Reports
Viewing all articles
Browse latest Browse all 4814

How to get all days between two dates if table don't have data for particular day

$
0
0

Hi Experts,

 

Please help on below issue

 

I have to create one report to get sales between two dates. My table will store the data only if the day have sales, Suppose if i want the report from 01.01.2015 to 05.01.2015 and my data base have the data for 1st, 3rd and 5th. But i need to show all the date from 1st to 5th as shown below

 

 

My table data

 

Date                 Sales

01.01.2015       1000

03.01.2015       3000

05.01.2015       2000

 

but i need the report like below mentioned,

 

Date                Sales

01.01.2015       1000

02.01.2015       0

03.01.2015       3000

04.01.2015       0

05.01.2015       2000

 

Pls Help on on this....


Viewing all articles
Browse latest Browse all 4814

Latest Images

Trending Articles



Latest Images

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