FIXED Function - Static Filters

FILTER ALLOW/DENY is the most useful piece of FIXED for me. What would juice up its usefulness to the next level is an ability to use static filters in the function.

For example -

SUM(SUM(`totalSales`) FIXED (FILTER `Client`='ABC Company'))

Beyond simply allowing or denying field filters to affect the calculation, you could dictate the filter state directly in the function. This would replicate what Microsoft/Power BI did with CALCULATE(SUM(`totalSales`),FILTER(`Client`="ABC Company")).

Ability to use multiple filters would take it a step even further:

SUM(SUM(`totalSales`) FIXED (FILTER `Client`='ABC Company', `salesPerson`<>'John Smith'))

2
2 votes

Active · Last Updated