Hi,
I have an appsheet application that is used by PowerBI for reporting. The space in the Powerbi report is 6 lines of 94 characters per line.
I can set a total character count of 564, but if the user adds a line break to start a new line, they can exceed the 6 lines within the 564 count. As an added complication the field size in appsheet is different than Powerbi, so you could have a 120 character line, which would take up 2 lines in Powerbi, and even if I could get the line count working, Appsheet would only see this as 1 line. So ideally I need to set the data validity to determine if there is more than 6 lines for Powerbi (ie if a “line” in appsheet is >94, it would treat it as 2 lines, > 188 treat it as 3 lines etc)
Any thoughts?
I did see this thread from 5 years ago, but for some reason the code used within this does not work, appsheet just does not seem to see the new line character,
I also tried asking Gemini and after about an hour or refining and it keeping repeating things that didn’t work or suggesting I used CHAR(10), which Appsheet doesn’t recognize as a function, Gemini admitted defeat!
Any help greatly received!!


