Forum Discussion
DAX filter context - rows not impacted by datesbetween
- 9 months ago
Thank you for the help lbendlin and v-saisrao-msft
The sample file was very good to recreate the issue but the measue did little more than countrows()
You were right to use the date table (I didnt because I had some issues with it) and my initial formula works just fine then
With the following formula I got the result, but you could try something similar with EXCEPT() i guessCALCULATE(COUNTROWS('Mobility setup');DATESBETWEEN('DateTable'[Date];MINX(ALL('DateTable');'DateTable'[Date]);MAX('DateTable'[Date])))
Hi isThatAFrog,
Thank you lbendlin, for your insights.
I have used the sample data and reproduced the issue at my end and got the below output also attached the pbix file for your reference:
Thank you.
- isThatAFrog9 months agoFrequent Visitor
Thank you for the help lbendlin and v-saisrao-msft
The sample file was very good to recreate the issue but the measue did little more than countrows()
You were right to use the date table (I didnt because I had some issues with it) and my initial formula works just fine then
With the following formula I got the result, but you could try something similar with EXCEPT() i guessCALCULATE(COUNTROWS('Mobility setup');DATESBETWEEN('DateTable'[Date];MINX(ALL('DateTable');'DateTable'[Date]);MAX('DateTable'[Date])))