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 have a date field called DTime in a Transactions table. I want to get the Start and End Date selected in the slicer on this DTime field. I already tried MIN/ MAX but it shows the oldest and latest date in the DTime column and not the Start and End from the slicer.
e.g. Date Selected in Slicer: 4/1/2024 - 9/30/2024
Value extracted using CALCULATE/ MIN/ MAX = 1/1/1990 - 12/31/2024
Expected Output: 4/1/2024 - 9/30/2024
Hi @DarshG ,
You need to use the unrelated date table for the extraction because the related date table will filter the data table, and since the date table is continuous, it will return the original data when it is not included in the date you are filtering.
Hope it helps!
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
I think you need the SELECTEDVALUE function, then because that could be multiple dates in the slicer, wrap that in MIN and MAX functions.
But really, I am not 100% sure of what you are trying to accomplish here. Can you supply some sample data points, with desired output?
Proud to be a Super User! | |
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 97 | |
| 70 | |
| 50 | |
| 42 | |
| 40 |