Hi,
I am using a pivot table to display data. In the pivot table I have countries and under each country couple of names. Then how many training a person led and how big attendance there was.
[TABLE="width: 800"]
<tbody>[TR]
[TD][/TD]
[TD]Completed[/TD]
[TD][/TD]
[TD]Cancelled[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Count of Title[/TD]
[TD]Sum of Attendance[/TD]
[TD]Count of Title[/TD]
[TD]Sum of Attendance[/TD]
[TD]Last Training Date[/TD]
[/TR]
[TR]
[TD]CZE[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Karel[/TD]
[TD]10[/TD]
[TD]50[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]1-10-2017[/TD]
[/TR]
[TR]
[TD]Peter[/TD]
[TD]5[/TD]
[TD]54[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]7-10-2017[/TD]
[/TR]
[TR]
[TD]Jean[/TD]
[TD]6[/TD]
[TD]23[/TD]
[TD]5[/TD]
[TD]0[/TD]
[TD]4-10-2017[/TD]
[/TR]
[TR]
[TD]Fanda[/TD]
[TD]5[/TD]
[TD]14[/TD]
[TD]2[/TD]
[TD]0[/TD]
[TD]17-10-2017[/TD]
[/TR]
[TR]
[TD]DEU[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Hanz[/TD]
[TD]2[/TD]
[TD]23[/TD]
[TD]5[/TD]
[TD]0[/TD]
[TD]17-10-2017[/TD]
[/TR]
[TR]
[TD]Franc[/TD]
[TD]5[/TD]
[TD]52[/TD]
[TD]3[/TD]
[TD]0[/TD]
[TD]5-10-2017[/TD]
[/TR]
</tbody>[/TABLE]
I have two questions:
1) In the data source, I created additional column where is displayed the last training date (using max(if...)). That means in the source data for each person, there is always the same "Last training date". So I would like to take this info a put into the pivot table. But anywhere I put it, it's always used as another filter and it makes the table much more complex. I would like to have just a custom column with this info without having to expand the whole table.
2) Same applies for the attendance. If the training has been cancelled, the attendance is always 0. Is there a way to hide the whole column?
I am using a pivot table to display data. In the pivot table I have countries and under each country couple of names. Then how many training a person led and how big attendance there was.
[TABLE="width: 800"]
<tbody>[TR]
[TD][/TD]
[TD]Completed[/TD]
[TD][/TD]
[TD]Cancelled[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Count of Title[/TD]
[TD]Sum of Attendance[/TD]
[TD]Count of Title[/TD]
[TD]Sum of Attendance[/TD]
[TD]Last Training Date[/TD]
[/TR]
[TR]
[TD]CZE[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Karel[/TD]
[TD]10[/TD]
[TD]50[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]1-10-2017[/TD]
[/TR]
[TR]
[TD]Peter[/TD]
[TD]5[/TD]
[TD]54[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]7-10-2017[/TD]
[/TR]
[TR]
[TD]Jean[/TD]
[TD]6[/TD]
[TD]23[/TD]
[TD]5[/TD]
[TD]0[/TD]
[TD]4-10-2017[/TD]
[/TR]
[TR]
[TD]Fanda[/TD]
[TD]5[/TD]
[TD]14[/TD]
[TD]2[/TD]
[TD]0[/TD]
[TD]17-10-2017[/TD]
[/TR]
[TR]
[TD]DEU[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Hanz[/TD]
[TD]2[/TD]
[TD]23[/TD]
[TD]5[/TD]
[TD]0[/TD]
[TD]17-10-2017[/TD]
[/TR]
[TR]
[TD]Franc[/TD]
[TD]5[/TD]
[TD]52[/TD]
[TD]3[/TD]
[TD]0[/TD]
[TD]5-10-2017[/TD]
[/TR]
</tbody>[/TABLE]
I have two questions:
1) In the data source, I created additional column where is displayed the last training date (using max(if...)). That means in the source data for each person, there is always the same "Last training date". So I would like to take this info a put into the pivot table. But anywhere I put it, it's always used as another filter and it makes the table much more complex. I would like to have just a custom column with this info without having to expand the whole table.
2) Same applies for the attendance. If the training has been cancelled, the attendance is always 0. Is there a way to hide the whole column?