Forum Discussion

Richard77's avatar
Richard77
Resolver I
5 years ago
Solved

Query editor shows rows but data is not available in data view

Hi all,

We have recently started using D365 for Finance. To create visualisations and analyse data we use Power BI which we connect to CDS/Dataverse.
The issue we encounter is that in the Power Query for some tables all data is presented but when going to the data view certain rows are simply not shown.
An example is the table AGR_WorkerHolidayBalanceEntity which shows 6 rows for a certain person, exactly alike the registration in D365.
In the view however only 2 rows are shown and can be used in visualisations. (This also happens for some other tables.)
This table has not that many rows in total (11) and no 'null' values. Even when only pulling this single table into Power BI, it still shows all rows in the query editor but only a subset in the data view.

As far as we can see the data has no special characters nor does it help transforming the data into different types (e.g. text into numeric or date/time into date only).
We also tried to clear cache and use a different date table and adding an (extra) index column but to no avail.

Hopefully this is a common thing and there is an obvious answer but so far we haven't found it yet.
Any help would be great.

Cheers,
Richard

  • Dear all,

     

    one of the issues we found is that in a certain table an array was present and CDS did not handle this the way it was expected. Instead of using CDS we now use ODATA (and manipulated the applicable table), which allows us to link to the necessary data/tables. Using ODATA, in our case, also solves some other random issues like Timeouts.

     

    Thank you Icey and lbendlin for helping on this topic!

8 Replies

  • The Power BI visuals will ALWAYS try to aggregate everything.  If you don't want that you need to add unique columns (like an index column) to the visual. For good measure also enable the "show items with no data"  feature.

    • Richard77's avatar
      Richard77
      Resolver I

      Dear Ibendlin,

       

      thank you for your help. Unfortunatly this did not help. D365 already offers a unique index column and next to that, we have tried to add an extra index column. The results were still the same.

       

      My thoughts are heading towards an issue where Power BI does not handle the processing of Dataverse data correctly.

       

      Cheers,

      Richard

  • Icey's avatar
    Icey
    Community Support

    Hi Richard77 ,

     

    Please try to disable "load" of the table and apply. After that, enable "load" and apply again. Can this help?

    Please note that, this will delete all calculated columns/measures of the table.

     

    In addition, if copy the table into excel and then import it, will the same issue occurr?

     

     

     

    Best Regards,

    Icey

    • Richard77's avatar
      Richard77
      Resolver I

      Dear Icey,

       

      my apologies, i thought i replied to your message but apparently something went wrong.

      I've tried your option to disable and then enable the load, but that did not change anything. Also downloading the data into Excel gave the same result (6 rows, same as in the Power Query after filtering) so i assume that importing the data goes as expected.

       

      I did make some screenshots that might be helpful:

      OneDrive 

       

      Cheers,

      Richard

      • Icey's avatar
        Icey
        Community Support

        Hi Richard77 ,

         

        I can't reproduce your issue. 

        Could you check if all rows show in Power BI Desktop Data View, not Report View

         

         

        In addition, please check if any other slicers, filters or visual interactions affect the result.

         

         

        Best Regards,

        Icey

         

        If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.