Using the min and max from a date range

robertdseals

Active Member
Joined
May 14, 2008
Messages
337
Office Version
  1. 2010
Platform
  1. Windows
Hello all,
I’m using the most current version of power bi I have an excel dataset. I need to take a date range from the user (slicer) and uses both the minimum date from that date range and the maximum from that date range. Use these two dates to pull information from a table that counts all the rows from the beginning of the table date to the minimum date range and the beginning of the table date to the maximum date range. So, if my table starts on 1/1/2020 and the user selects 1/1/2023 - 12/31/2023 I would want to calculate how many rows from 1/1/2020 to 1/1/2023 and how many rows from 1/1/2020 to 12/31/2023. My dataset has an OrderDate column (formatted 1/1/2020). I’m pretty new at Power BI so if you are going to get too deep into the woods on parameters and such, I will need a lot of detail. ha. Thanks in advance for any assistance you can provide.
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top