Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
+1
person also asked this
people also asked this
Replies
9 replies
Subscribers
5 subscribers
Views
8794 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Reports
Report with a variable number of columns
Kyle Jorgensen
over 7 years ago
What would be the best approach to create a report with a variable number of columns?
I am creating a report that aggregates project cost data by customer and division that can be filtered by certain project attributes. I can create a DB view with a variable number of columns, but I'm not sure if Appian data types support a variable number of fields.
I've attached a mockup of what the base data looks like and what the report I am looking to create looks like.
OriginalPostID-258734
Discussion posts and replies are publicly visible
Parents
0
Raviteja Varma Jampana
A Score Level 2
over 7 years ago
For a similar kind of requirement in past we build a query to generate dynamic pivot table and exported it to excel.
To my best knowledge it is not possible to create grid showing true dynamic pivot table as you are expecting.
A work around implementation for this is
1. creating a display cdt with N (Maximum number of columns possible )values,
2. Map values to these columns(A little tricky part but can be done by doing row by row)
3. Displaying columns only if they have values. (using apply components)
Please let me know if you need help in implementing with Maximum of N columns approach. But I recommend going for exporting dynamic pivot table to excel if possible.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Raviteja Varma Jampana
A Score Level 2
over 7 years ago
For a similar kind of requirement in past we build a query to generate dynamic pivot table and exported it to excel.
To my best knowledge it is not possible to create grid showing true dynamic pivot table as you are expecting.
A work around implementation for this is
1. creating a display cdt with N (Maximum number of columns possible )values,
2. Map values to these columns(A little tricky part but can be done by doing row by row)
3. Displaying columns only if they have values. (using apply components)
Please let me know if you need help in implementing with Maximum of N columns approach. But I recommend going for exporting dynamic pivot table to excel if possible.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data