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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Measures from Desktop Different Outputs on PBI Web

Hey All,

 

I'm running into a strange problem when publishing to the online web service, where my measures will calculate fine and output on the dekstop, but once I publish to the web service and view the same published report online the measures do not compute and output blank. The DAX formulas I'm using that it seems not to like are something like:

 

Four Hour Production Rate = CALCULATE(AVERAGE('ePFS Reports'[Good Parts Production Rate (parts/hr)]), 'ePFS Reports'[Date Time] >= (NOW()-4/24))
 
Where i take any timestamps that are greater (later) than 4 hours ago, e.g. the last 4 hours. This measure works fine and outputs correctly on PBI desktop, but once I publish to the PBI Web service these measures come up blank. My other data including the raw stuff and other measures seem to come in correctly, including other measures that use the "NOW" in conjunction with the "CALCULATE", though all my measures that include "AVERAGE" seem to be failing.
1 REPLY 1
GilbertQ
Super User
Super User

Hi there

What it could possibly be is that all the Power BI Servers have their time set to UCT.

When using NOW() it will be the time of the UTC server, so depending where you are in the world, it could mean your timezone is a day behind or ahead from the Power BI Servers, which will affect your measure.

What you could do, is to add in the Hours to your NOW() so that it offsets to the correct DateTime.

Power BI Desktop uses the Timezone on your PC, which I am going to assume is different from UTC




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.