Forum Discussion
sieed
Helper II
9 years agoCreating Custom Date range
I am trying to create a custom date range that shows the last fifteen days no matter if there is data for that date in my table or not. As long as it's in the last 15 days range, it should be shown ...
- 9 years ago
- 9 years ago
LaurentCouartou
Solution Supplier
9 years agoI assume you do not have a dedicated Date table in your model. If not, add one and link it to your data. (Date tables are meant to solve this kind of problems).
The most basic date table has only one column and contains a set of contiguous dates.
The quickest way to create one would be to add a calculated table to your model and use the CALENDARAUTO() function.
sieed
Helper II
9 years agoLaurentCouartou, I have created a Date Table with the past fifteen dates. Question is, how do I join it with my current table? There isno common field between the two... nI can share my pbix file but I dont know how to attach it.