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.
What is the correct syntax for calculating the sum of a column only if another column is not null? For example,
I would only want to calculate the numbers in the second column, where Column A is not null.
Thanks!
Solved! Go to Solution.
Please try this measure
Measure = CALCULATE( SUM(Table1[Column B]), 'Table1'[Column A]<> BLANK() )
Please try this measure
Measure = CALCULATE( SUM(Table1[Column B]), 'Table1'[Column A]<> BLANK() )
How would you write the measure if you have various date columns that return "null"
Table = PRJ
Columns = Billing, Due, etc
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 |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |