Using the min and max from a date range

robertdseals

Active Member
Joined
May 14, 2008
Messages
334
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

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

Forum statistics

Threads
1,215,069
Messages
6,122,954
Members
449,095
Latest member
nmaske

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