Forum Discussion
Create a filter in an expression so NULL values are being excluded
- 9 years ago
Hi anguyen83,
The filter is used to remove the row where there is null cell in any column, you should add filter in the table rather than column. I list a simple example to filter the table. The first screenshot is my table, I filter the table using the formula and get the second expected result.
Table 2 = CALCULATETABLE(Table1,FILTER(Table1,Table1[Total]<>BLANK()))
So you’d better amend the table in your expression. Replace the ‘Lead’ table as the following table.
New Lead=CALCULATETABLE('Lead',FILTER('Lead',[LS1_Timestamp__c].[Date]<>BLANK()&&"Account_Id"<>BLANK()&&[ID]<>BLANK()))
If you have any question, please let me know.
Best Regards,
Angelia
Hi anguyen83,
The filter is used to remove the row where there is null cell in any column, you should add filter in the table rather than column. I list a simple example to filter the table. The first screenshot is my table, I filter the table using the formula and get the second expected result.
Table 2 = CALCULATETABLE(Table1,FILTER(Table1,Table1[Total]<>BLANK()))
So you’d better amend the table in your expression. Replace the ‘Lead’ table as the following table.
New Lead=CALCULATETABLE('Lead',FILTER('Lead',[LS1_Timestamp__c].[Date]<>BLANK()&&"Account_Id"<>BLANK()&&[ID]<>BLANK()))
If you have any question, please let me know.
Best Regards,
Angelia