SOLVED
Insert 'zero-values' for dates without data
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
ArminL
7 - Meteor
‎08-07-2018
01:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hey Community,
I have the following table with consumer data for a certain time period (e.g. 2017-12-21 to 2017-12-23) but when a consumer did not consume on a certain date, there is obviously no data for her.
Nervertheless I would like to have all dates for all customers in the table, with days where there was no consumption "value = 0". Anybody can give me a quick hint? :)
Consumer | Date | Value |
1 | 2017-12-21 | 3 |
2 | 2017-12-20 | 5 |
2 | 2017-12-21 | 2 |
2 | 2017-12-22 | 12 |
3 | 2017-12-22 | 6 |
3 | 2017-12-23 | 8 |
Thanks in advance and cheers
Armin
Solved! Go to Solution.
Labels:
2 REPLIES 2
jasperlch
12 - Quasar
‎08-07-2018
01:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎08-07-2018
02:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks @jasperlch for the quick help. Appreciate it :)
