Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I'm trying to understand the difference between the two measures below. I thought they will generate the same results, except option1 filters calendar[Date] through filter() function while option 2 filter calendar[Date] via datesbetween().
However, these two measures generate different results. It looks filter() always take current filter context (year-month) as a default context and apply conditions on top of it. Datesbetween () take the whole calendar[Date] as the starting point, ignoring date context in the matrix table context.
Is that normal that datesbetween behaves this way? I have never heard of a function (except "all()", "allexcept()") that would ignore current filtering context automatically.
option1
Solved! Go to Solution.
@Anonymous , time intelligence function is used outside filter function has a different impact than the one you have used in filter
refer if this can help
http://dataap.org/blog/2019/04/22/difference-between-calculate-with-and-without-filter-expression/
@Anonymous , time intelligence function is used outside filter function has a different impact than the one you have used in filter
refer if this can help
http://dataap.org/blog/2019/04/22/difference-between-calculate-with-and-without-filter-expression/
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.