Manju Goyal 2 Posted February 26, 2020 Share Posted February 26, 2020 It seems Repeat function is not able to take other calculated values. Is that true. I tried fixing this by writing instead sum([ColumnName]) then Repeat('Hello',[Value]) but that wouldnt work either. Any help would be greatly appreciated. Link to comment Share on other sites More sharing options...
Kirsten Smith (she/her) Posted February 26, 2020 Share Posted February 26, 2020 Repeat() works on string values. Try something like: Repeat(String(Sum([Column])),3) Link to comment Share on other sites More sharing options...
Kirsten Smith (she/her) Posted February 26, 2020 Share Posted February 26, 2020 I see I misread your initial question. The Sum() function seems to create a Real, even on an Integer column. Try this: Repeat("Hello", Integer(Sum([Column]))) Link to comment Share on other sites More sharing options...
Manju Goyal 2 Posted February 28, 2020 Author Share Posted February 28, 2020 This worked like a charm. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now