Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Date dimension table and Employee fact table in SSAS tabular 2016 and power BI

Hi All , 


I have a scenario in Power BI and SSAAS 2016 Tabular model , if I am connecting startdate with date key from Date table then in power BI graph it is counting employee to be active only for date matching with start date and after that it is not counting this employee. 

I am seeking for a solution where my employee should be visible on graph as active for all the dates between its start date and end date.




Could any one please suggest how do I join the start dates and end dates with Date dimension. Also, when I am showing date from date table in power BI graph this employee should count for each date between his start date and end date.


Thanks in advance !!!!


Microsoft v-yulgu-msft

Re: Date dimension table and Employee fact table in SSAS tabular 2016 and power BI

Hi @Kanika,


You could Cross Join Employee table and Date table. Then, filter the new crossjoin table with syntax: Date>=Start Date && Date<=End date


The DAX formula is similar to:

New Table =
    CROSSJOIN ( 'Date table', 'Employee table' ),
    'Date table'[Date] >= 'Employee table'[Start date]
        && 'Date table'[Date] <= 'Employee table'[End date]
Then, establish a one to many relationship from 'Date table' to 'New table' based on [Date] column.
Yuliana Gu
Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Regular Visitor

Re: Date dimension table and Employee fact table in SSAS tabular 2016 and power BI

Thanks Yuliana,

Is there a way to achive this without creating any additional physical table with Cross join because I have this scenario at multiple places that will impact my dictionary size.

Ultimately, at the end the need is to drag dates on one axis and active user count on another axis.

Kanika Soni

Helpful resources

New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Join THE global Microsoft Power Platform event series.

Join THE global Power Platform event series.

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors