I have an aggregate query that returns a field called “YearMonth” in the format “YYYY-MM”. I also have several other fields with data in them; one of the fields is “Amount”.
I would like to create a table where each distinct value of YearMonth is its own column in the table, and each cell in the YearMonth column is filled in with the Amount for the combination of that YearMonth and all other columns in the table that aren’t YearMonth columns.
For Example
Column Header: Account,Fund,2019-01,2019-02,2019-03
First Row: 10000, 100, $0, $100, $200
Second Row: 10000,200,$50,$75,$100
Third Row: 12000,100,$10,$20,$30
etc.
Is this possible? How might I go about constructing a table that looks like this?
Question
Dynamic Table Columns based on Distinct Aggregate Model Field Values

Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.