Hi There,
I've built a dashboard that gets data from a series of REST API calls. I've created measures that leverages this data to work out figures such as profit, costs, margins etc.
When I publish this dashboard from Power BI Desktop the measures are all showing correctly and forcing a manual refresh doesn't break the measures and it is displaying correctly.
However, when the next scheduled data refresh takes place the measure is reset to blank. This only breaks one of my measures so I cannot determine its cause.
I can't provide access to the dashboard due certain data being private but the measure is:
Total Cost = SUMX(CALCULATETABLE('Open Programme Events', 'Open Programme Events'[Is Cancelled?]="false"), ('Open Programme Events'[Active Delegates] * RELATED('Course Costs'[Per Student Fees]) + ('Open Programme Events'[Active Delegates] * RELATED('Course Costs'[Registration (Per Del)]))) + RELATED('Course Costs'[Per Event Fees]) + [Tutor Fees])
This measure continues to work following a scheduled refresh:
Targetted Income = CALCULATE((SUM('Open Programme Events'[Course Price]) + SUM('Open Programme Events'[Registration])) * SUM('Open Programme Events'[Maximum Delegates]))
Does anyone have any experience with this that can advise why the measure would be breaking?
Thanks!