Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello ,
In Excel to count with condition under Excel it's possible to use a "matrix expression" .
For example with min , max , average , sum :
{=MIN(IF(column_A=field_on_colulm_A;column_to_find_min_value))}
{=MAX(IF(column_A=field_on_colulm_A;column_to_find_min_value))}
{=SUM(IF(column_A=field_on_colulm_A;column_to_find_min_value))}
{=AVERAGE(IF(column_A=field_on_colulm_A;column_to_find_min_value))}
Under DAX I can use this expression :
column_created= CALCULATE(sum(my_table[numeric_column]); ALL(my_table) ; my_table[condition_on_column] = "my_condition")
column_created= CALCULATE(max(my_table[numeric_column]); ALL(my_table) ; my_table[condition_on_column] = "my_condition")
column_created= CALCULATE(min(my_table[numeric_column]); ALL(my_table) ; my_table[condition_on_column] = "my_condition")
column_created= CALCULATE(average(my_table[numeric_column]); ALL(my_table) ; my_table[condition_on_column] = "my_condition")
On this case if the condition is on the value "ABC" , the mathematic processed is written on all cells of the board.
For example if the value is "DEF" , I looks for a solution to see the "sum/min/max/average" of "DEF" , not for "ABC" .
Thanks for the help.