Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Added on September 26, 2024 5:52PM
Likes: 0
Replies: 3
I am working on a scorecard in Dataiku and I would like to calculate the percentage of completion in a set number of columns. Basically, I would like to replicate this formula in excel: =SUM(COUNTIF(ColumnX:ColumnXX,"*")/Total Number of Columns) and am having issues. The columns are a mix of strings, integers, and text, however, I just want to see if they are populated period.
Operating system used: Windows
Hi, what does it mean “I’m having issues?”. Are you getting an error? If so can you post it to the thread? How exactly are trying to do this? Are you looking for a code or no code solution? Thanks
Hi, I'm not sure what recipe or formula to use to calculate this. From what I can see, all the formulas for mathematical functions in Dataiku need numbers as a value in the cell, not text or string.
https://doc.dataiku.com/dss/latest/formula/index.html#string-functions
I would use the length() and if() formulas in a Prepare recipe.