Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi there, need some assistance with calculating cumulative values.
I have a table with the billings of a certain period and I need to add the values that are between the dates of each row.
According to the excel model, I use the two dates of each line as a calculation condition.
I found a solution, but when I use a larger database, BI crashes
Memory error: Memory Allocation failure . Try simplifying or reducing the number of queries.
Calculation
Can you offer any advice to fix this please?
Solved! Go to Solution.
Hi,
I am not sure whether I understood your question correctly, but please try the below whether it suits your requirement. It is for creating a calcualted column.
Accumulation CC =
SUMX (
FILTER (
Invoicing,
Invoicing[Due date] >= EARLIER ( Invoicing[Issue] )
&& Invoicing[Issue] <= EARLIER ( Invoicing[Due date] )
),
Invoicing[Value]
)
Hi,
I am not sure whether I understood your question correctly, but please try the below whether it suits your requirement. It is for creating a calcualted column.
Accumulation CC =
SUMX (
FILTER (
Invoicing,
Invoicing[Due date] >= EARLIER ( Invoicing[Issue] )
&& Invoicing[Issue] <= EARLIER ( Invoicing[Due date] )
),
Invoicing[Value]
)
Hello, your calculation is correct, but when I added 2 more conditions and went to update through onedrive, it presented the memory error.
Even though it's a small base of 24mb.
Hi @egabriel ,
Refresh is a background operation that can occur when two conditions are met:
When the conditions are not met, the refresh is queued until the conditions are favorable.
For a full refresh, recall that at least double the current dataset memory size is required. If sufficient memory is not available, then the refresh cannot commence until model eviction frees up memory - this means delays until one or more datasets becomes inactive and can be evicted.
For more information, please refer to: Optimize Microsoft Power BI Premium capacities - Power BI | Microsoft Docs
Please check if there is any remaining memory in the workspaces.
Best regards,
Yadong Fang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 9 | |
| 6 | |
| 3 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 21 | |
| 14 | |
| 11 | |
| 5 | |
| 5 |