Replies: 7 comments 2 replies
-
Hello, are there any updates regarding this? |
Beta Was this translation helpful? Give feedback.
-
Hi, currently at version 1.0.98 still cannot filter by formula column in View ? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@daawaan sorry replying here because github is playing up with replies... I thought views on the internal DB supported paginations? M |
Beta Was this translation helpful? Give feedback.
-
Any progress on this point, or is there any known workaround?:
|
Beta Was this translation helpful? Give feedback.
-
Any progress on this point as well? Can't proceed without a workaround.
|
Beta Was this translation helpful? Give feedback.
-
As far as #1299 and #3268 and the need to limit columns in a view, what is the recommended way of handling that in the absence of that feature? Just make two linked tables where one has the "public" columns and the other has the "restricted" columns? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Views have been with us for a long time. However, since we added the "Define Filters" option to
Data Providers
, they have lost some of their purpose.However, views are still the only way that we can achieve “aggregation” functions on internal tables
Please give your opinions below on views.
How we use views today
Aggregation functions
sum
of a column.count
of recordsaverage
of a columnFilters
We can also apply a filter to a dataset (without applying an aggregation). This has largely been superseded by “Define Filters”. However, this is still needed for performing aggregates on the filtered dataset.
Group by
Allows to apply aggregates per column.
Charts
Whilst "Charts" is not a feature of views per say, this is one of the primary uses of a view - especially with the combination of a group by.
For example, you might want to display a bar chart, where each bar is a Group.
We should consider how views and charts interact.
Limitations
Applying a dynamic filter
For example, we cannot apply a filter like
Creation Date > {{ fromDate }}
- wherefromDate
is a parameter passed into the view.#2986
Group by relationship
If a
Project
has manyTasks
, we cannot apply aCount of Tasks per Project
#2763
#3171
Group by, then by
This would allow us to perform 2 or more groupings in one query.
#3426
Group by Formula
#3678
"Having"
"Having" (SQL terminology) is the ability to apply a filter on an aggregate function. For example:
Tasks, Grouped By Project, Having Count > 5
= show me projects that have more than 5 tasks.Formulas
Views do not support formula fields.
#1033
#2271
#3170
Group by formula is particularly useful, for creating on-the fly groups. e.g. "Group by Month" (where date is a timestamp). This was raised by Sypher and here: #3678
Filters do not handle null
#2042
Sorting and pagination
This is irrelavant if views are only to be used for calculations. However, we are unable to sort data by any given column and then paginate.
#2235
Column projection
Again, irrelevant if using calculations only. But, we cannot choose which columns a view returns: #1299.
This was raised in #3268, with a really good point - restricting access to certain columns.
Beta Was this translation helpful? Give feedback.
All reactions