Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

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

  • Greg_Deckler's avatar
    Greg_Deckler
    Community Champion

    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".

    • tmendoza's avatar
      tmendoza
      Resolver I

      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.

  • Anonymous's avatar
    Anonymous
    Not applicable

    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