Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi! I always thank the members of the community.
I have a question.
Filter function and CALCULATE(<extension>, <filter1>, <filter2>...)
I wonder what is different.
If you know anyone, please answer me.......
Solved! Go to Solution.
Filters are enclosed in other functions so as to filter the results which can be measures or dimensions.
Measure = CALCULATE ( SUM ( Table[value] ), FILTER ( Table, Table[City] = [selected city] ) )
As a standalone function it can only be used to create a table with filtered rows
Table_New = FILTER('Table', 'Table'[User_ID] = "Ted")
Filters are enclosed in other functions so as to filter the results which can be measures or dimensions.
Measure = CALCULATE ( SUM ( Table[value] ), FILTER ( Table, Table[City] = [selected city] ) )
As a standalone function it can only be used to create a table with filtered rows
Table_New = FILTER('Table', 'Table'[User_ID] = "Ted")
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
93 | |
84 | |
66 |