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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Measures different in published report compared to desktop

Some measures seem to be calculating things differently in the published version of a report I have compared to what is appearing locally on desktop. The measures in the desktop version: 22.187%, -1.8350%, 22.594%. The measures in the published report are closer to 14%, -273%, and 54%. 


The data comes from sql server, which is then unpivoted in Power BI, and the measures are created based on the unpivoted data. Everything seems fine in Desktop, but in the published version I'm seeing very different numbers.

 

Even weirder is I've tried to publish the report a few times and the measure will initially appear correct in the published version and then a few mintues later switch to being incorrect.

 

Any ideas?

 
 
4 REPLIES 4
Gabe_Moreira
Frequent Visitor

I'm facing the same issue.

 

I've made the following collumn:

Status_Entrega =
IF('f_Owners_Monitoring'[STATUS] = "EM ANDAMENTO",
    SWITCH(
        TRUE(),
        IF(
                ISBLANK('f_Owners_Monitoring'[Previsão de conclusão pós PCP]),
                ('f_Owners_Monitoring'[Previsão de conclusão original] - 'f_Owners_Monitoring'[PREV_CONC_ATUAL]),
                ('f_Owners_Monitoring'[Previsão de conclusão pós PCP] - 'f_Owners_Monitoring'[PREV_CONC_ATUAL])) = 0, "On Track",
         IF(ISBLANK('f_Owners_Monitoring'[Previsão de conclusão pós PCP]),
                ('f_Owners_Monitoring'[Previsão de conclusão original] - 'f_Owners_Monitoring'[PREV_CONC_ATUAL]),
                ('f_Owners_Monitoring'[Previsão de conclusão pós PCP] - 'f_Owners_Monitoring'[PREV_CONC_ATUAL])) > 0, "In Advance",
        IF(ISBLANK('f_Owners_Monitoring'[Previsão de conclusão pós PCP]),
                ('f_Owners_Monitoring'[Previsão de conclusão original] - 'f_Owners_Monitoring'[PREV_CONC_ATUAL]),
                ('f_Owners_Monitoring'[Previsão de conclusão pós PCP] - 'f_Owners_Monitoring'[PREV_CONC_ATUAL])) < -182, "Heavily Delayed",
        "Delayed"),
    IF('f_Owners_Monitoring'[STATUS] = "CANCELADO", "Canceled",
    "Concluded"
    )
)
On PWBI desktop it works perfectly, when I publish it still calculates correctly, but when the dataset is updated, the measure doesn't return the correct value

Hi guys,

I end up getting it right following the arcticle above:
https://community.powerbi.com/t5/Service/Calculated-Columns-not-updating-on-scheduled-refresh/m-p/79...

Summing all up, i've just made the calculated collumn into the Power Query, then adapted the visuals by using the new collumn.

Greg_Deckler
Super User
Super User

That's odd, try clearing all the filters, there should be a "Reset to default" option. 

 

If not, perhaps some kind of permissions thing or RLS going on?

 

You could check the Issues forum here:

https://community.powerbi.com/t5/Issues/idb-p/Issues

And if it is not there, then you could post it.

If you have Pro account you could try to open a support ticket. If you have a Pro account it is free. Go to https://support.powerbi.com. Scroll down and click "CREATE SUPPORT TICKET".


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Hello,

 

I'm getting the same issue with my unpivoted data set.

Is there anyway to elevate this?

It seems like there is logic in the app that doesn't exist in the server.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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