How to filter views in a list using a calculated field?

How to filter views in a list using a calculated field?

I have created a calculated column in a sharepoint list which looks at the ‘created’ field and then identifies the month value (i.e the month value for 2nd January 2008 would equals 1) =MONTH ( [Created]) This works fantastically. However, now I’m trying to filter a view based on this column and it returns no items.

Do you need to index the first column in a filter?

For a view to quickly filter through many items, the first column in the filter must be indexed. Other columns you specify in the view filter may or may not be indexed, but the view does not use those indexes. The first column of the filter should return fewer items than the List View Threshold.

How to add more columns to a filter definition?

If you need to add another entry to your filter definition, select Show more columns at the lower right. You can have up to 10 statements in a filter definition. When you’re done, select OK at the top or bottom of the page to save the view.

How to limit the number of columns in a filtered view?

When you define a filtered view that uses two or more columns, use an AND operator to limit the total number of items returned. But even in this case, you still need to specify as the first column in the filter the column that most likely returns the lesser amount of data.

How to filter by a calculated column in SharePoint?

The only way the filter on calculated columns work is by using the SP 2010 style url (_vti_bin/ListData.svc).

What’s the difference between filter and Calculated measures?

With the simple definition of your Measures measure, the two formulas actually do give the same result. The difference between FILTER (y, y [column]=”ab”) and FILTER (y, y [column]= [Measures]) comes down to context.

How does calculate change the context of a filter?

One of the things CALCULATE does is to create a filter context. In other words, the row context within FILTER is replaced by a filter context.