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 was wondering if there might be a case when we'll prefare using SUMX over SUM even if it involves just one column?
Thanks
Alex
Solved! Go to Solution.
Interesting!!
May be when you need to do some calculation on individual values of the Column before summing them up
For example
Measure = SUMX ( ALLSELECTED ( Table1[Column] ), IF ( [Column] < 3, [Column] * 10, [Column] * -10 ) )
Also SUMX is the only option when you have to sum the columns of a temporary table created using a VARIABLE
Interesting!!
May be when you need to do some calculation on individual values of the Column before summing them up
For example
Measure = SUMX ( ALLSELECTED ( Table1[Column] ), IF ( [Column] < 3, [Column] * 10, [Column] * -10 ) )
Also SUMX is the only option when you have to sum the columns of a temporary table created using a VARIABLE
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 |
---|---|
114 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |