FILTER Functions for Power BI in DAX – Overview

Last modified date:

FILTER functions (filtering functions) are used to get values from the table. Some functions enable additional filtering in a given table. These functions are often part of different functions as is nested parameter and enable dynamic calculations. They often serve as a value filter for function  CALCULATE. Mostly it is the case of typical member of this category – FILTER function. For instance when we want to create metrics summing up values of some column but we need to limit the column based on some requirement = filter.

Script example representatives of DAX category function FILTER (function is named identically to the whole category). In the example of metrics is total sum of the sales > 1000

Sales USD > 1000 =
SUMX (
    FILTER (
        Sales,
        Sales[UnitCosts] * Sales[Quantity]
            > 1000
    ),
    Sales[UnitPrice] * Sales[Quantity]
)

List of FILTER Functions in DAX Language for Power BI

  1. ADDCOLUMNS
  2. ADDMISSINGITEMS
  3. ALL
  4. ALLEXCEPT
  5. ALLNOBLANKROW
  6. ALLSELECTED
  7. CALCULATE
  8. CALCULATETABLE
  9. CALENDAR
  10. CALENDARAUTO
  11. CROSSFILTER
  12. CROSSJOIN
  13. CURRENTGROUP
  14. DISTINCT
  15. EARLIER
  16. EARLIEST
  17. EXCEPT
  18. FILTER
  19. FILTERS
  20. GENERATE
  21. GENERATEALL
  22. GROUPBY
  23. IGNORE
  24. INTERSECT
  25. ISONORAFTER
  26. KEEPFILTERS
  27. LOOKUPVALUE
  28. NATURALINNERJOIN
  29. NATURALLEFTOUTERJOIN
  30. RELATED
  31. RELATEDTABLE
  32. ROLLUP
  33. ROLLUPADDISSUBTOTAL
  34. ROLLUPGROUP
  35. ROLLUPISSUBTOTAL
  36. ROW
  37. SAMPLE
  38. SELECTCOLUMNS
  39. SUBSTITUTEWITHINDEX
  40. SUMMARIZE
  41. SUMMARIZECOLUMNS
  42. TOPN
  43. UNION
  44. USERELATIONSHIP
  45. VALUES

My name is Jan Zedníček and I work as a BI Developer at Kentico Software in Brno. Mostly you can see me there working in the office, but I also work partly as a freelancer. I have been working as a freelancer for many companies for more than 5 years, but Kentico is the matter of my heart. I used to work as a financial controller at companies like Aero Vodochody or Sberbank and I also used to be a bond program manager in Unicapital Investment group. When I am not at work, I like playing volleyball, chess, doing a workout in the gym and I enjoy tasting of best quality rums. I am trying to summarize all my knowledge on this website not to forget them (because of the rum effect, you know =) and to put them forward to anyone. Don´t worry about asking for help or writing some comments.

Category: DAX Tags: ,

About Ing. Jan Zedníček - BI Developer, Finance controller

My name is Jan Zedníček and I work as a BI Developer at Kentico Software in Brno. Mostly you can see me there working in the office, but I also work partly as a freelancer. I have been working as a freelancer for many companies for more than 5 years, but Kentico is the matter of my heart. I used to work as a financial controller at companies like Aero Vodochody or Sberbank and I also used to be a bond program manager in Unicapital Investment group. When I am not at work, I like playing volleyball, chess, doing a workout in the gym and I enjoy tasting of best quality rums. I am trying to summarize all my knowledge on this website not to forget them (because of the rum effect, you know =) and to put them forward to anyone. Don´t worry about asking for help or writing some comments.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.