Forum Discussion
GusLima121
2 years agoFrequent Visitor
Reduce memory used by DAX Command
Greetings, I need help reducing the DAX Measure used memory so the calculations are shown fully. I'm using the followin Measure to calculater Overlapping Dates Duration _Calculate Overlapping ...
AntrikshSharma
Community Champion
2 years agoGusLima121 How big is the 'SAMPLE DATA' table? Instead of table reference use just the columns you need to reduce the total distinct values on which the calculation needs to performed.
instead of FILTER ( 'SAMPLE DATA' ....
use:
SUMMARIZE (
'SAMPLE DATA',
'SAMPLE DATA'[START],
'SAMPLE DATA'[END]
)
- GusLima1212 years agoFrequent Visitor
I have a total of 5.3K rows in that table, 3.4K only in 2024, being CC 5021 with 1032 rows.
The reason i filter the Dates is because i need it to return all orders that:
- Started and ended inside my range
- Started inside and ended outside
- Started before and ended after.
So the filters are important to me.