Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
In my data I have something that looks like the following:
PersonID | Service | StartDate | StopDate |
1 | Something | 01-01-2018 | 31-12-2020 |
2 | Something | 05-06-2017 | 26-11-2018 |
What I've been doing until now is creating a seperate Date column and going with 1 row for each day between StartDate and StopDate, but I'm already dealing with 4+MILLION rows, so this is getting ridiculous, even though it works (but takes about 30 minutes to update).
I need to do several things with these dates:
Create a chart that will show me how many PersonID had an active service per month (or whatever)
Create a date slicer that will show me how many PersonID had an active service on that particular date
Create a card that will show me how many PersonID have an active service today
I'd really like to do this without having to create that Date column, but is that possible at all? Some sort of slicer/filter/whatever that will do a if(SelectedDate) is BETWEEN StartDate and StopDate then return 1 or something like that?
Solved! Go to Solution.
@grggmrtn , seem very similar to my HR blog, see if that can help
https://www.youtube.com/watch?v=e6Y-l_JtCq4
This actually looks pretty workable - thanks!
User | Count |
---|---|
81 | |
75 | |
74 | |
42 | |
36 |
User | Count |
---|---|
114 | |
56 | |
51 | |
42 | |
42 |