Forum Discussion

mavbaumer15's avatar
mavbaumer15
Frequent Visitor
5 years ago
Solved

Data Always Loading on Report as 0

Hi, 

 

I have never seen antyhing like this before... I had created this report a long time ago and now all of sudden this week the amount column on the dataset will only show as 0.  If I got into transfrom data it shows up as expected and there's values in there.  I have tried to create a new SQL view, remove and re-add the dataset, and even a brand new report but the same result everytime. I ended up find out that it's taking the decimal places out 15+ places like it's being divided or something?

 

Has anyone seen anythign like this before in PBI desktop?

 

 

  • mavbaumer15's avatar
    mavbaumer15
    5 years ago

    I'm not seeing the same thing...so sorry about this.  I'm not sure what happened with our data but I think I have found the issue and am fixing it in the backend. Thanks for looking at this and sorry for wasting your time. 

9 Replies

  • mavbaumer15 

    Are you using a measure in your display to sum the ReportingCurrencyAmount column or did you just drag the field in from the table?

    • mavbaumer15's avatar
      mavbaumer15
      Frequent Visitor

      Hi, no measure I'm just directly using the field from the table. 

  • Try writing a measure to sum the column and put that in the visual.  It's possible that the data type got switched so your aggregation on the implicit measure went from sum to first or something like that.

    • mavbaumer15's avatar
      mavbaumer15
      Frequent Visitor

      I just tried this and it's still showing 0.  Something I did try as well was switching the value to Don't Summarize and now I have values.  I just exported everything to excel and summed it up by vendor to make sure it's not actually netting to 0 and they are not.  I've had created 100s of PBI reports before and never seen anything like this....

  • Any chance you can share your .pbix file?  You can load it to OneDrive or DropBox and share the link here.

  • It seems like the total is summing to 0?  I exported to excel and the sum of the REPORTINGCURRENCYAMOUNT is 0

    so I added a Sign column to your table to split it up to check.

     

    Sign = 
    SWITCH(
        TRUE(),
        VendorInvoiceTransactionsWithGLDetail[REPORTINGCURRENCYAMOUNT] < 0, "-",
        VendorInvoiceTransactionsWithGLDetail[REPORTINGCURRENCYAMOUNT] > 0, "+",
        "0"
    )

     

     

    This is the measure in the values

     

    Measure = SUM(VendorInvoiceTransactionsWithGLDetail[REPORTINGCURRENCYAMOUNT])

     

    with the sign column on the columns.

     

    • mavbaumer15's avatar
      mavbaumer15
      Frequent Visitor

      I'm not seeing the same thing...so sorry about this.  I'm not sure what happened with our data but I think I have found the issue and am fixing it in the backend. Thanks for looking at this and sorry for wasting your time.