Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

How to create a measure with a filter between two dates

I got a quick question I got for example the following range of dates  And I have a measure that is sum of sales. I am wondering is there a way to create a measure that filter based on the d...
  • Anonymous's avatar
    Anonymous
    3 years ago

    Cant you do this by adding the regular slicer available in powerbi? 

    Adding the slicer visual will automatically add filter context to your visual/measures. I just did a simple test here with my database, summing the amount of items ordered by item code. When you change the date range it automatically updates those sums to the total that is within that set date range. (In my case WODueDate_CC)