Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
CarlsBerg999
Helper V
Helper V

Measure works in Desktop but not in Service

Hi,

 

I have measure that works fine on PBI Desktop but after refreshing on on PBI Service, it produces blank results. What i have is a matrix table as a visual. When i click on refresh in PBI Desktop the calculation produces numbers. I upload the file to PBI Service and it shows fine. However, after a refresh in the PBI Service, the result is always blank. No errors appear, just blank values. 

 

The measure:


CALCULATE(
SUMX(
SUMMARIZE(
FILTER(
CROSSJOIN('Contract Invoice Schedule',DateTable),
DateTable[Date]>EOMONTH([PARAMETER Forecasts to Actuals],0) // Parameter is a date
&&
DateTable[Date]>=('Contract Invoice Schedule'[Start of invoice rev rec date])
&&
DateTable[Date]<=('Contract Invoice Schedule'[End of invoice rev rec date])),
'Contract Invoice Schedule'[Contract ID & Line Item ID],DateTable[Month & Year],"Amount",
DIVIDE(MAX('Contract Invoice Schedule'[Net Amount]),MAX('Contract Invoice Schedule'[Months]))),[Amount]))

 

 

What is causing this?

5 REPLIES 5
haywooda
New Member

I know this is old but I didnt see a solution. I had the same issues where a measure worked fine in PBI desktop but showed blank when published to the service. I set the fields used in the message to explicit data types as i think the service was converting them to different values. This worked for me.

Andy.

v-kkf-msft
Community Support
Community Support

Hi @Anonymous ,

 

Has your problem been solved? I cannot reproduct your problem, this is my test PBIX file.

What is your connection mode? Could you please share some sample data?

 

Best Regards,
Winniz

Anonymous
Not applicable

Hi All,

 

Is there a solution identified for this? I am facing similar issues at work and it is affecting important deliverable.

 

I have the latest August version of Power BI downloaded. 

 

The measure works absolutely fine in desktop, but returns blank in service after a refresh. The first image below represents DAX measure values in desptop. Second image represents the blank values in service after refresh.

 

Table values on PBI desktopTable values on PBI desktop

<Blank> values in Service<Blank> values in Service

 

Any thoughts/comments on why this could be happening?

 

Best regards,

Pooja

v-kkf-msft
Community Support
Community Support

Hi @CarlsBerg999 ,

 

Are you using the latest version of Power BI desktop?  Could you please share your PBIX file without sensitive data?

Is the meature [PARAMETER Forecasts to Actuals] related to the DateTable? After the dataset refreshed, does the meature have a value? 

 

Best Regards,
Winniz

lbendlin
Super User
Super User

Connect DAX Studio to the dataset in the service, then run the measure query and check for any error messages or compatibility warnings.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.