Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Date table (6500 lines)
Sales lines table (2 mill lines, 65K lines that are offers)
In my Calender table i tried to make a sum pr day in a new Collumb.. but ran out of memory :
SalesThisDay = CALCULATE(SUM('Sales Line'[SL_Amount]),FILTER('Sales Header','Sales Header'[SH_PriceStartDate]< EARLIER(Calender[DateValue])),FILTER('Sales Header','Sales Header'[SH_PriceEndDate]>EARLIER(Calender[DateValue])),FILTER('Sales Line','Sales Line'[SL_Document_Type]=0))
I think i need a new table, but I really dont know what it sould inculde..
Excel example attached:
Hi @Rygaard ,
Assuming there a relationship between following tables:
May be so many FILTER expressions are creating issues. Try something as below:
@Rygaard , Are you distributing/copying data for each day, where is the future data?
if you just need to allocate of copy on all dates for the range
How to divide/distribute values between start date or end date or count days across months/days: https://community.powerbi.com/t5/Community-Blog/How-to-divide-distribute-values-between-start-date-o...
Attached file is new table approach
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
97 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |