Skip to content
Advertisement

Create daily logs based on records that contain multi day values

This is an extension to this question: Break down long multi day periods of time into several single day periods where the problem was solved using Tallies.

The situation I am dealing now is let’s say I have a table like this:

The goal is to create a daily outage report over a period of time (Let’s say the Month of July) that looks like this:

Thanks in advance.

P.S I just saw this other question: Convert Date Range to Individual Days

I am going to review it but in the meantime, please feel free to help!

Advertisement

Answer

This solution also uses a tally table. In this case it uses a tally TVF called fnTally.

Tally TVF (without the embedded notes (see link))

Data

Query

Results

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement