Excel Pivot Table - How to get ALL data to display when using "SHOW DETAIL" - pivot-table

When in Pivot table, I have 80K distinct data rows. How do I display and return all data when I select cell and do the SHOW DETAIL function?
When I do, I just get 1000 rows of data in a separate worksheet and not the 80K. I get this output 'Data returned for Distinct Count of Name (First 1000 rows)."
How do I display ALL rows?
Any assistance is much appreciated. Thank you. WD

Go to Data -> "Queries & Connections" (1).
Then click on the connections (2) and go to "ThisWorkbookDataModel". Right click and choose "Properties..." (3).
Change the number of maximum rows to retrieve in the "Connection Properties" window:
(The larger the dataset, the longer and heavier the excel workbook will be, when you retrieve the data)

Related

Link two cells in google sheets with autofill

First of all I would like to thank you for your time.
I have a google data studio report that extracts data from a google sheet. The data studio sheet gets values from a google form (in the form of another tab in the sheet). Altough the cells are linked, right now I have to drag the cells in the data studio sheet to pull the values from the forms sheet. If there are no values it can´t pull anything and I would like to have real time values in the google data studio as soon as a form is filled.
Right now all I have is a simple (='Form '!C55) to pull. What I would like to do is if there is a new value in the following cell in the forms sheets then the following cell in the data studio sheets pulls it so it can go to the report in dat studio.
Cheers to all!
Try this formula, in column A, after your last row of good data. So perhaps in Dados!A91. Note you will need to first delete everything in all of the cells below and to the right of A91, since this formula is filling everything:
=QUERY('Formulário '!A9:O;"select A,G,D,J,M,H,E,K,N,I,F,L,O where B <> '' ";0)
This queries your Formulário sheet, and pulls all of the data starting in row 9 (since that is what you were showing with your formula before), and selects all of the correct columns in order.
Please test it out with a test form submission, to see that it works as expected, and that it is copying the correct columns, in the right order. Let me know of any questions or issues.
I'm not positive how sheet updates work when there is no active user logged into the sheet, but I suppose when Data Studio goes to pull from Dados, it will first ensure that it has the latest data from all formulas.
Update
To have the Max and Min values,which you say should be the same all the way down the column, add a formula like the following in the header row (row 1) of your Formulario sheet:
={"Cloro Max.";ArrayFormula(IF(LEN(A2:A);1,5;""))}
That gives a value of 1,5 for a column labelled Cloro Max. Be sure to delete anything from row 2 down, in that same column, or the array formula gives a #REF error, since it can't put data when there is already data entered in those lower cells.
You can change the text to create a Max or Min column for each value you want, in columns Q to V. Change the 1,5 to whatever number you want, such as 0,5 for Cloro Min.
It will always add the value(s) to each new row as it gets added from a submitted form response.

How to count unique occurrences with criteria in excel

I'm using the below array formula to count the unique occurrences of text in column C using the agent name in column G as the reference. This is giving me multiple issues.
=SUM( --(FREQUENCY(IF(G3:G100000 = J5,MATCH(C3:C100000,C3:C100000,0)),ROW(C3:C100000) - ROW(C3) + 1) > 0))
Depending on the data set I'm using multiple agents will return a #N/A result and I can't figure out why.
Each dataset I'm using is 20k to 30k lines, so the formulas take a long time to process.
Any ideas how I could do this faster or better? Also any ideas why some agents get bad returns?
I am assuming that you are looking for the number of unique combinations of columns C and G.
Create a pivot table and check the box to add this data to the data model.
Drag both column headers to the Rows section, also drag one (of those same two) into the the values section.
click on the the field in the values section > value field settings > summarize values by > choose Distinct Count. This removes all duplicates.
Click the Row Labels filter and uncheck the blanks.
You can drop in new data then right-click on the pivot and refresh to see the new results. See the image.

Spilt the Main DB in Excel and Update the Values and Merge Them into one

I have a Database with 23000 Rows, Now we categorized as Like ( intrested, followup, not intressted) Now i want to create different work sheet for each category in that i have to update the sheet with other information which should be updated back in the main DB . Please help me how to do this.
I used Vlookup to do this but it is making my Workbook very slow in such a it take 1min to update value of single cell..
I tried Using Pivot Table to filter the values.since its dynamic when try to update the adjacent value to pivot table they are messing up.
in Sheet 1 I have the details of the Customer Like ( name,ph,email,CATEGORY(intrested,follow up, not interested), status, etc)in the status i have the last follow up.
now in the sheet 2 i have to extract one category(eg. intrested) with email,name, ph with that ill follow up with those client and enter the informtion of communication which should go back to the sheet 1 in a new column.

SSRS: Grouping column data sorting by A to Z

I've made one grouping with "Name". Now when I retrieving the data from Dataset it shows something like this,
Eadadfadasdas
Masdadadad
Dadasdasdad
Sasdadadasd
Asdffff
I do not want to change the order In Dataset. Is it possible to do it with Expressions in SSRS Report.
I want the result like this,
Asdffff
Dadasdasdad
Eadadfadasdas
Masdadadad
Sasdadadasd
Thanks for your time and help.
In the SSRS table (which I assume you are displaying this data in) YOu need to sort by the Fieldname as follows
Right click the Row Header and click Row Group -> Group Properties
Then select the Sort Tab and set the Column to sort on to be your Column Name as shown
This will display your data in alphabetical order
Click on the Group Properties for 'Name'.
Under the Sorting tab, sort by name A-Z.

Limit text in SSRS Report Table

Background:
I have a table with say 40 columns reporting Employee Details. Where 39 of 40 columns are of Datatype varchar(10) and the 40th column, being Manager's comments, is of Datatype varchar(1000).
Problem:
The report is looking bad as due to one column the height of the complete row is increasing than normal expectation.
Solutions I thought of:
Increase width of column > Looking bad if no comments
SubString the data coming > Loss of data
Set CanGrow to False + set the Height for Row to have 2 data lines + Show text on tool tip + Export to excel link of a different report which has CanGrow as false > not very good solution
Can someone suggest a better way to handle one column with more text than the rest of them as even my 3rd approach is looking non-ideal to me?
Thanks in advance.
A little unconventional, but in situations like this I've put the last column in its own row beneath the other columns, merged all the cells in that row, and then grouped by the primary key. That makes a report in which you've got a two row SSRS group for each row in your query results, the first row contains all of the short columns and the second row contains just one long column. If there is a fairly short string in that last column, or an empty value, it will just take up one row. If there is a long string, then it will have space to expand vertically (if CanGrow=True), instead of expanding horizontally and making an impractically long report.
This may not meet all reporting purposes, but if the report is intended for visual use it can work well.
The best solution I could find was
Set CanGrow = False
Increase Width and set a generic Height
Show tooltip
Export to excel works fine and shows data unlike I expected (as the data is not truncated but just the textbox is restricted to show data in SSRS frontend)
This works for me as there is no data loss.

Resources