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
Hello,
I have an issue that I want to get all the values of a column that is outside the selected date range. I have a single table with eomdate, amount, category, type. It has data from Jan 2015 to till date. Now if I filter the eomdate- Jan 2019 to Aug 2019 then I want all the values that are outside this selected date range, ie from Jan 2015 to Dec 2018 and Sep 2019 to Nov 2019
I will be using a visual that will be having amount, category, type. I want it to show the data based on the above explanation. Can anyone help me with this?
Solved! Go to Solution.
Hi @Anonymous ,
Please try to change SUM funtion to MAX.
Measure =
CALCULATE (
MAX('Table'[Segment]),
FILTER (
'Table',
'Table'[Date] <= MIN ( 'Calendar'[Date] )
|| 'Table'[Date] >= MAX ( 'Calendar'[Date] )
)
)
Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Kudos are nice too.
Hi @Anonymous ,
I create a sample that you could reference.
Calendar = CALENDARAUTO()
Measure =
CALCULATE (
SUM ( 'Table'[ Sales] ),
FILTER (
'Table',
'Table'[Date] <= MIN ( 'Calendar'[Date] )
|| 'Table'[Date] >= MAX ( 'Calendar'[Date] )
)
)
Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Kudos are nice too.
Hello @v-xuding-msft ,
Thanks for the response. I am not working with the number column. I am working with a text column. Can you please update the formula accordingly for me?
Hi @Anonymous ,
Please try to change SUM funtion to MAX.
Measure =
CALCULATE (
MAX('Table'[Segment]),
FILTER (
'Table',
'Table'[Date] <= MIN ( 'Calendar'[Date] )
|| 'Table'[Date] >= MAX ( 'Calendar'[Date] )
)
)
Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Kudos are nice too.
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 | |
| 74 | |
| 50 | |
| 47 | |
| 44 |