30/07/2024
Get Data toolsTranform dataoverall = SUM(ae_activity[over4]) in DAX
over4 column, rather than each row Split Columnoverall = SUM(ae_activity[over4], ae_activity[over12]))SUM function falls overA3)
overall = SUM(ae_activity[over4]) sums all the values in the over4 columntable[column] - so this is the over4 column in the ae_activity table= List.Sum(#"Filtered Rows"[over4]) would sum all the values in the over4 column #Filtered Rowsquery step, and sums its over4 column#Calculated Sum (but we could edit that)overall_m = SUM(ae_activity[over4])
overall and overall_m into a tableSUM vs SUMX
SUMX evaluates some expression for each row in the context: overall_x = SUMX(ae_activity, ae_activity[over4] + ae_activity[over8]) CALCULATE as a function specifically for fooling with the filter context in a more detailed way
overall_borders = CALCULATE(SUM(ae_activity[over4]), ae_activity[board] = "NHS Borders") to restrict to just NHS Borders PQM: Microsoft’s function reference is useful, but their intro pages are confusing and hard to recommend
please can I ask for some feedback - takes less than a minute, completely anonymous, helps people like you find the right training for them