Forum Discussion

WishAskedSooner's avatar
WishAskedSooner
Icon for Continued Contributor rankContinued Contributor
2 years ago
Solved

Date Range Based on User

Hi All,   I have a data model with numerous users' data. Each user's data has a custom date range. For example, User A's data ranges from January 2020 to March 2024 and User B's data ranges from Ja...
  • WishAskedSooner's avatar
    WishAskedSooner
    2 years ago

    I found a solution that seems preferable over creating a Dim Dates table that has a User column as this would greatly multiply the size of my Dim Date table (there are many more Users than the two cited above).

     

    I set the cross-filtering direction between the DimDate table and the Fact table to Both instead of Single. I also set the cross-filtering direction to Both between the Dim User table and the Fact table. Now, it works as expected.

     

    I am marking this as the solution, but feel free to comment if there are potential pitfalls to this solution that I am unaware of.