2
I have some raw data in my spreadsheet with columns like role, role status, object, object status
, so the data indicates the relationship between role and object.
The some data view looks like
role1,1,obj1,1
role1,1,obj2,0
role2,0,obj1,1
role3,1,obj3,1
I want to see a matrix to represent what role can access what object. Meanwhile I only want to include role status = 1
and object status = 1
in my pivot table.
╔══════╦═══════╦═══════╗
║ ║ role1 ║ role3 ║
╠══════╬═══════╬═══════╣
║ obj1 ║ 1 ║ ║
║ obj3 ║ ║ 1 ║
╚══════╩═══════╩═══════╝
I can generate pivot table from data easily, but I have no clue how to do a pre-filtering of the data.