Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

Use start date to calculate first 7, 14, 30 days etc

$
0
0

Hi All,

 

I am trying to create a report for the first day, 14 days, 30 days of service.

 

I have a Students table that lists student ID, Organization, University ,Cohort etc, and a Package Table that lists the date a text was sent to students, among other things.

 

I have created a measure that pulls the start date as follows: Start Date = FIRSTDATE(Packages[Package Date]).

 

I can see the start dates listed for each student ID (or organization/cohort etc) in a table when I create one in a report, so the measure seems to be working correctly.

 

I want to use this to look at the number of stops, responses, and other things that I have already calculated for the first Day, first 14 days, first 30 days for each organization. 

 

I tried a calculated table, first pulling Distinct Student IDs from the Student Table, and after creating a relationship with the packages table, adding a column with the Start Date measure. Seems to work.

 

I then tried adding columns, with DATEADD. The dates are not being added for all start dates.

 

Date problem.PNG

 

What am I doing wrong? There are other relationships for the Package Table, and the Package Table is also connected to a date table. Could it be something there? Is there another way to look at time periods with different start dates without calculating this kind of table?

 

Thanks for your help!

 

Betsy


Viewing all articles
Browse latest Browse all 213819

Trending Articles



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