Forum Discussion
remove delimiter if combinevalues empty
Yeah, the reason i didn't is because it's really long.
It's basically Switch(condition,
IF statement,
IF statement,
IF statement,
IF statement with combinevalues(", ", if statement, if statement, if statement, if statement, if statement, if statement)
IF statement,
IF statement,
IF statement,
IF statement,
)
If all those if statements inside combinevalues return as false (false condition returning ""), then combinevalues returns ",,,," as the result. Which is correct, but I don't want those delimiters? i want it to return "". And I don't want to have to repaste the if statements and make it twice as long suddenly.
Anonymous please share sample data with expected output.
Read this post to get your answer quickly.
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490