Hi Everyone,
I have an issue which I am facing since a few weeks and I haven't been able to solve.
I have a measure that calculates the Backlog in production orders at a specific point in time. Here is the measure:
BacklogProduction =
VAR CurrentDate = MAX('Datum Copy'[Date])
RETURN
CALCULATE(
DISTINCTCOUNT('Sales Lines (+Arc)'[prodOrderNo]),
FILTER(
ALL('Sales Lines (+Arc)'),
'Sales Lines (+Arc)'[orderDate] <= CurrentDate &&
'Sales Lines (+Arc)'[EndingDate] >= CurrentDate
)
)
When I publish it on my workspace and access it from the Cloud version of PowerBi, the results are correct until the first scheduled refresh. After the first scheduled refresh, the numbers are completely different.
Here I post screenshots of the 2 different results (Top is the Desktop version, bottom is the Service)
![andreame_0-1744207079156.png andreame_0-1744207079156.png]()
![andreame_1-1744207090869.png andreame_1-1744207090869.png]()