Tyler Parker Posted January 16, 2022 Share Posted January 16, 2022 I have a dataset which has several thousand lines of verious events with dates. I would like to count certain events and display theby date. Specifically, I want to count 15 lines of 1 type ofevent with dateeach and turn that into 1 line of datewith 15 events. Link to comment Share on other sites More sharing options...
Fredrik Rosell Posted January 19, 2022 Share Posted January 19, 2022 Hello, This may not be exactly what you are looking for (if not, maybe you can provide some example data - what you have and what you want), but in general, using a pivot transformation (or unpivot depending on the use case) can be a good way to flip your data like that. As an example, here's an example of some fake event data that I have pivoted to get one row per Date, using a Count to aggregate the EventType data. See the TIBCO Spotfire Analyst manual for more information about the Pivot transformation:https://docs.tibco.com/pub/sfire-analyst/11.6.0/doc/html/en-US/TIB_sfire-analyst_UsersGuide/index.htm#t=data%2Fdata_details_on_pivot_data.htm&rhsearch=pivot&rhhlterm=pivot&rhsyns=%20 Best Regards Fredrik 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