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

Re: Common crosstab question

$
0
0

Hi Eberhard,

 

CR cannot display what's not available in the database.

 

Let's say you have a Date field as the Row and a summary field. If the database does not have any data for a particular day. CR will skip that day.

 

As a workaround, you'd need to build a look-up table, either in the database or via a SQL query. You would then LEFT JOIN from this look-up table to the table that holds the summary fields.

 

When you use the Date Field from this look-up table, you'll see all records. For any Dates with no data, CR displays zeroes.

 

E.g: how to insert an non exist current year( monthl... | SCN

 

Displaying all missing dates in a range

 

-Abhilash


Viewing all articles
Browse latest Browse all 8372

Trending Articles



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