Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
I'm trying to concatenate a [Full Title] column, combining values from a [Title] column and a [Subtitle] column. That bit seems pretty easy; "= [Title] & " " & [Subtitle]"
But some of the books don't have subtitles, so the concatenated column throws up a null.
How can I get the column to display the information it does have, even when the second value is missing?
Solved! Go to Solution.
I resolved the issue using Column From Examples to create a combined column 🙂
Thanks for the help!
Hi @sgross,
Use this formula
= [Title] & " " & IF(ISBLANK(T[Subtitle]),"",[Subtitle])
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHmm... Using that exact forumula I'm receiving an Expression Error:
Expression.Error: The name 'IF' wasn't recognized. Make sure it's spelled correctly.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsI'm sorry, I don't understand what you mean. Here's a screenshot of what I'm looking at right now in the Query Editor:
I resolved the issue using Column From Examples to create a combined column 🙂
Thanks for the help!
User | Count |
---|---|
85 | |
80 | |
76 | |
49 | |
41 |
User | Count |
---|---|
114 | |
56 | |
51 | |
42 | |
42 |