Forum Discussion
Use ALLNOBLANKROW in a filter?
I have two tables
Data Table
| Country | City | Population |
| A | X | 5 |
| B | Y | 10 |
| C | Z | 15 |
| D | Q | 20 |
| E | P | 25 |
| A | R | 6 |
| B | S | 7 |
| C | T | 8 |
| A | U | 9 |
| B | V | 16 |
| D | W | 10 |
| E | K | 2 |
Filter Table
| Country_Filter |
| A |
| C |
| E |
- Anonymous5 years ago
Both ALL and ALLNOBLANKROW works similary with minor difference. Both functions ignore any applied filters.
ALL returns ALL records , after ignoring the filters (including external to the visual.)
ALLNOBLANKROW returns all non-blank records , after ignoring the filters(.including external to the visual.)
Thanks
Raj
3 Replies
- AnonymousNot applicable
Both ALL and ALLNOBLANKROW works similary with minor difference. Both functions ignore any applied filters.
ALL returns ALL records , after ignoring the filters (including external to the visual.)
ALLNOBLANKROW returns all non-blank records , after ignoring the filters(.including external to the visual.)
Thanks
Raj - AlexisOlson
Super User
What are the two different results you're getting?
- v-zhangti
Community Support
Hi,@rlee1982
ALL : Returns all the rows in a table, or all the values in a column, ignoring any filters that might have been applied. This function is useful for clearing filters and creating calculations on all the rows in a table.
ALLNOBLANKROW: From the parent table of a relationship, returns all rows but the blank row, or all distinct values of a column but the blank row, and disregards any context filters that might exist.
You can also refer to the following links:
ALL function (DAX) - DAX | Microsoft Docs
ALLNOBLANKROW function (DAX) - DAX | Microsoft Docs
Best Regards,
Charlotte Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.