Dynamics CRM - advanced find row count is different when exported to excel - dynamics-crm-2011

In Microsoft Dynamics 2011:
I did a very basic advanced find and the number of records returned was 13,449. I exported this to excel and the number of rows in the spreadsheet was 13,486. For the life of me I can't see any reason why it should be exporting 37 more records than were in the advanced find results.
I tried exporting the raw fetch to try running it in isolation, but there is a 5000 row limit so I couldn't. Dynamics seems to page through the records once it hits 5000.
Has anyone else had this issue or be able to help please?

Most likely the data changes during the time you are exporting and 37 more records match the query criteria. Refresh the result in Advanced Find and check the number.
If possible, run the query in SQL and check the result.
If the view contains any multiple line text field, I suggest you check if any of these values take more than one rows in Excel. Normally CRM export feature puts all the text in one line, but you may check that just in case.
If Advanced Find is your only tool and you really need to find the issue, do a research on the exported data, find the column that has the most distributed values. E.g. a currency field "CurrentValue" that contains 1000 distinct values out of your 13000+ records. Use the distinct values to retrieve sub data set so you can easily compare the result from Advanced Find and the Excel sheet, e.g. add a condition that "CurrentValue" is between 0 and 100. Once you find the 37 records that not shown in your Advanced Find, you can then look into the record data and find out the cause.

Related

Functions pulling from a refreshing power query giving REF! error

I have a changing power query which size changes based on the amount of PDF's from a folder. I have functions set up on a separate sheet tab to pull data from a range of cells from the power query tab. The main problem I have is if I load only a few of these pdf's my references will get deleted since the table range is getting removed. I have been trying to find work arounds to this, any help would be appreciated.
I tried to do a Pivot table of this data I need but I am trying to match certain criteria like an invoice and specific words to get a value. This did not work for my situation.
Example of Power Query
this is the data I am pulling that will turn into REF! if I take a pdf out and the rows shrink.

Excel Pivot Table Question - Filtering / Trying to Find Best Visualization Practices

I am struggling in an Excel Pivot Table situation, and getting nowhere. Quick explanation as to what I am trying to achieve -
I exported data from a Jira project, and I am trying to point out Custom Fields that never get used. In the Pivot Table I have added each Custom Field in the Values section, and calculate each field by 'Count.' This give me the data I want to see - the number of times a Custom Field is being used in the project.
The idea is that I want to show all of the Custom Fields that Count equals 0. With my current Pivot Table structure I am not able to filter, sort, etc. anything on my Values column. All I can see is all of the data under Values (seen in screenshot).
Does anyone know of ways I can demonstrate only the Custom Fields that equal 0 here? I feel like I am stuck. Any advice would be so much appreciated.
Screenshot here

Exporting data from SQL Developer only pulls half of the query output - is there a preference for increasing this?

I'm on version 19.2.1.247 of SQL Developer and ran a script that returned 80,000 records. I exported to Excel (Right click data grid, select 'Export', select Excel 2003+ for the format) and the Excel sheet contained only 40,000 records. I've used SQL Developer for many years but this is the first I've noticed this issue.
I repeated a couple of times with the same query, trying different export formats, and no luck. I tried a different query and the same thing happened - the query itself returned 60,000 records but after exporting to Excel, the file contained only 30,000 records.
I will add that I looked for something under the Tools -> Preferences menu but didn't see anything. The closest was under Tools-> Preferences -> Export -> Worksheet. There are two options there - 'Max rows to print in a script' and 'Max lines in script output.' Both of those had values and I deleted those values so there are no limits. Still, when I exported my data, the Excel sheet contained only half of the records that were retrieved in the output in SQL Developer.
Has anybody run into this and/or is there a preference that can be set to increase the number of records exported to Excel?
Thanks in advance,
Joe
Remove the limit of rows fetched or refresh data before you export

Performance issues access large Excel file

We have a large Excel file (~10k rows) with just a few columns hosted on SharePoint Online. One of the columns is an email address and we want to filter this column based on the current user.
A JavaScript webpage using Microsoft Graph reads all rows. It's very slow (> 20 seconds sometimes) because we read the entire file in and filter using client code (usually less than 50 rows of the 10k rows)
The Microsoft Graph call looks like this:
/v1.0/sites/{site}/drives/{id{/items/{id}/workbook/tables/2/rows
Any suggestions that might help with performance, like indexing the Excel and filtering server side somehow with Views, A filter, URL parameters or something else like lookup tables, powerquery or powerpivot?
You can use table column's Filter API to filter the values.
POST /workbook/tables/{id|name}/columns/{id|name}/filter/apply
{
filterOn: "Values",
values: ["email#mail.com", "email2#mail.com"]
}
Then you can read the visible range using this API.
You can clear the filter at the end.
If not, you can just read the column values you are interested in from the unfiltered table. That will reduce the payload and help improve the perf.

Spreadsheet with relationships

I have to work with data CSV file. They look like this
sample
It represents products with options/cars etc. at the web-store.
It has a lot of columns with duplicated values and in my work in often need to copy some part of this data to another sheet, deduplicate it, edit and then paste it back by matching it for one of the columns that were untouched. More this purpose I'm using Ablebits Excel suit.
Is it possible by any excel function to automate this process or maybe there is some other software that could handle this? Something not so complicated as relational databases like Access, but something close to spreadsheet editor with relationships
I already tried Power Query in Excel and Power Bi, but they seem to be more analytics tools and not the data edit
2nd edition:
Data has a layer structure with duplicates.
Title1|Part number 1|Car1
Title1|Part number 1|Car2
Title2|Part number 2|Option1
Title2|Part number 3|Option2
I want to have opportunity to:
Edit values that duplicate without using "Replace All" or at least have more flexible "Find&Replace".
Extract columns with deduplicating them and saving a reference to the place they were taken. So if you edit some data there it was changed in the 1st place. For example, I have titles(a lot of titles) but need to edit it. Instead of copying it with some id to reference it I want to open it like they appears in filters, edit it, confirm and get it edited in all column
I would use Power Query (aka Get & Transform on the Data ribbon in Excel 2016). The only limitation I see with what you want to do is that Power Query will deliver a new Excel Table with the output of a Query - it can't update existing cells.
If you can get past that, Power Query is very flexible, easy to learn (WYSIWYG query editor), scales well and is integrated with other Microsoft products (as well as Power BI, there is integration with SQL Server Analysis Services in preview and hopefully SQL Server Integration Services one day).

Resources