Abubakar anwar Posted May 3, 2021 Share Posted May 3, 2021 Hello to all community members, I have a question regarding pivot table in Spotfire. can i filter on a single value while creating a pivot table in spotfire Br, Abubakar Link to comment Share on other sites More sharing options...
Fabian Duerr Posted May 3, 2021 Share Posted May 3, 2021 Can you be more specific and share a sample input and expected output Link to comment Share on other sites More sharing options...
Abubakar anwar Posted May 4, 2021 Author Share Posted May 4, 2021 Hello, I have a table of raw data in spotfire. Now i want to pivot that data. which i can do in transormation. But i want to filter on some data while creating the pivot table (like in excel)m but the only problem which i have is that... the new table which i will create as a result of pivoting the raw data table, i need to use it to add columns in the raw data. I can do it manually, but i want to understand if i can automate the process. Does this explanation help looking forward to your reply. TIA Link to comment Share on other sites More sharing options...
Fabian Duerr Posted May 5, 2021 Share Posted May 5, 2021 What you can do here is to use a R data function that takes your filtered data table as input and then returns this table.Then you can add your pivot transformation on this table. The code would be very simple new.table <- source.table Here source.table is your input of type TABLE. And new.table is your output of type TABLE. Make sure that the input is filtered by the correct filtering scheme. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now