Tabulator group/ungroup by column field - tabulator

At the start, my Tabulatro table is grouped by a column field. I would like to ungroup and show the table in "flat" mode. Is that possible?

Related

Pivot table - calculated field and distinct count

I can see how to have a column showing a distinct count if I load the data into the pivot table as a data model, but then I cannot add a calculated field.
Can you have a pivot table with distinct counts and calculated fields?

Why am i getting null and zeros in pivot field values column in tableau?

enter image description hereHi,
When i try to convert my data source( that contains a list of countries as columns with daily deaths noted)into pivot(converting the list of country columns into a single column with all the countries as rows) in tableau, I am getting null values for the column pivot field values.
Here i am attaching my original data source and the sheet which is pivoted
The pivot values show null because there are no data available. Note that, the Tableau data pane will only show you a sample of your data. when you go into Tableau sheet to create your views you can drag pivot value into text in the marks card. That is a true test to see if there are numbers in the pivot value field.

Excel Count unique value multiple columns

I have a workbook with multiple sheets. On sheet1 I would like to count the number of times person in column A has a particular entry in Column C that meets criteria of column D = Content but only count if column B is a unique value.
Using the below formula I can do everything except only counting unique numbers in Column B. I enter this formula in Sheet2 C2 then pull across to I2 then pull down to 6 in each column.
=IF(COUNTIFS(Sheet1!$A$2:$A$150,Sheet2!$B2,Sheet1!$C$2:$C$150,Sheet2!C$1,Sheet1!$D$2:$D$150,"Content")=0,"",COUNTIFS(Sheet1!$A$2:$A$150,Sheet2!$B2,Sheet1!$C$2:$C$150,Sheet2!C$1,Sheet1!$D$2:$D$150,"Content"))
I am using the double countifs to not show 0's.
Here is what it looks like for Sheet1
Here is how I would like Sheet 2 to look
Any help or advise would be much appreciated.
The answer by Vijayakumar works. In case you need a simpler version (without the data model option, use this formula in column E dragged down
=SUMPRODUCT(--($B$1:B1=B2))>0
Select all data
Insert ->Pivot table
In The Pivot table fields Move "SR" to Rows section "Stage" to column section "Prod" & "IsUnique" (Col E) to filter section and "QN" to Value section
Now right click on some cell in Pivot which shows sum/count of QN Summarize
values by -> Count
In the filter section of pivot (first row on
pivot table which states "Prod"), choose "Content"
In the filter section of pivot (Second row on
pivot table which states "IsUnique"), choose "TRUE"
When you have new data, you just need to Change Data Source from the Pivot Table tools->Analyze or Refresh. However you can record this whole process as macro to automate it.
You can achieve this via Pivot table.
Select all data
Insert ->Pivot table
In the pop up ensure you check the check box at the bottom with description "Add this data to data Model" and then click OK. This will create Sheet 2 for you.
In The Pivot table fields Move
"SR" to Rows section
"Stage" to column section
"Prod" to filter section
"QN" to Value section
Now right click on some cell in Pivot which shows sum/count of QN
Summarize values by -> More optins
In the pop up, scroll to bottom and click on "Distinct Count"
In the filter section of pivot (first row on pivot table which states "Prod"), choose "Content"
Note: Distinct count won't appear in values section if step 3 is missed out. Hope this helps.

Why is my Excel Power Pivot not maintaining the order of the manually re-arranged items in my ROW field?

I am using Excel 2013 and I have a PowerPivot which refreshes the data from an SQL database.
I have designed a pivot table from the data but I am getting really frustrated at one aspect of the design. I have dragged a field named "Room Category" in the ROW field, dragged a specific field in the VALUE field. I have then added another field as a Slicer, which is basically acting like a filter. I have re-arranged the "Room Category" field on my pivot table manually. However, each time I click on a different item in the Slicer and come back to the original item on the slicer, the order of the "Room Category" is set back to the default alphabetical sorting order!!
I have been looking for a solution all over the web but to no avail!
I am adding below an extract of the data that is being used to create the pivot table:
Property RoomCat Order
A2 X 2
A2 Y 1
A2 Z 3
B5 C 1
B5 D 4
B5 E 2
B5 F 3
So when I've created my pivot table, I have Property as a Slicer and I have manually re-arranged the RoomCat to show as follows for Property A2: Y,X and Z. I've done the same for Property B5 to show as follows: C,E,F,D
However, when I click on Property B5 on the Slicer and the click back on Property A2 on the slicer, the RoomCat for Property A2 now shows up as: X,Y and Z
The PivotTable will always sort alphabetically unless you give it something else to sort by. If you add a new field to your data which contains the sort order, then you can tell PowerPivot to use that as the sort order.
First Select your Room Category column, click on the Sort By Column button, then select the column that contains your sort order:
And the result:
I think I understand the issue (I've had the same problem with Dates as Text). I think if you create a "Named Set" based on the row Items, it will work.

How to combine different pivot tables excel 2013

What i have is three different pivot tables in one spreadsheet, each of these tables have a pivot chart linked to them, and the tables are all laid out like this:
Category|Count of id
What i want is to be able to add each row in each pivot table, to each corresponding row in the other table. For example...
In Cat1 pivot table, the first value is 111, the second value is 50.
In Cat2 pivot table, the first value is 77, the second value is 12.
In Cat3 pivot table, the first value is 17, the second value is 12.
What i want is to be able to add the first row in the Cat1 pivot table (111). To the first row in the Cat2 and Cat3 pivot table, same with the second and third etc...
So that eventually i will have one final table, with all of the values combined.
Thanks for any feedback!
What I would do is to copy out the results of each Category into it's own tab and then create a final Pivot form that data.

Resources