Forum Discussion
Zero-To-Date calculation
- 2 years ago
As a best practice, add a date dimension in your model and use it for time intelligence calculations. Once the date dimension is added, mark it as a date table on table tools. Check the related videos on my YT channel
Add Date Dimension
Importance of Date Dimension
Mark date dimension as a date table - why and how?
Time Intelligence PlaylistAfter date dimension is added , measure will look something like this:
All Time RT = CALCULATE ( DISTINCTCOUNT ( Table[Column] ), FILTER ( ALL ( DateTable[Date] ), DateTable[Date] <= MAX ( DateTable[Date] ) ), <<your containsstring expression here>> )
As a best practice, add a date dimension in your model and use it for time intelligence calculations. Once the date dimension is added, mark it as a date table on table tools. Check the related videos on my YT channel
Add Date Dimension
Importance of Date Dimension
Mark date dimension as a date table - why and how?
Time Intelligence Playlist
After date dimension is added , measure will look something like this:
All Time RT =
CALCULATE (
DISTINCTCOUNT ( Table[Column] ),
FILTER (
ALL ( DateTable[Date] ),
DateTable[Date] <= MAX ( DateTable[Date] )
),
<<your containsstring expression here>>
)