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 want to create a custom column (column 7) that does a count of non-null values in columns 1 to 6.
Need it as a Power Query.
Thank you!
Solved! Go to Solution.
I think you can use a similar principle. Add a custom column as
List.NonNullCount( { [Column 1], [Column 2], [Column 3] } )
I think you could create a new column like
Column 7 =
VAR TmpTable = { 'Table'[Column 1], 'Table'[Column 2], 'Table'[Column 3] }
RETURN
COUNTAX ( TmpTable, [Value] )
Thank you, that solution works for adding a column in the regular table view. But I just realised I need it as a Power Query.
I think you can use a similar principle. Add a custom column as
List.NonNullCount( { [Column 1], [Column 2], [Column 3] } )
Brilliant. Thank you very much!
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 |
---|---|
108 | |
106 | |
87 | |
77 | |
69 |
User | Count |
---|---|
124 | |
112 | |
94 | |
84 | |
75 |