Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have three calculated columns, Customers, Accounts and Staff I want to concatenate into one ccolumn. I created this calculated column, but I notice the commas still appear if one of the three tables is blank.
Attendees |
John Smith, , |
Solved! Go to Solution.
@av9 , you can use if to control
Attendees = Appointments[Customers] & if(isblank(Appointments[Accounts]),"" , ", " & Appointments[Accounts] )& if(isblank(Appointments[Staff]) , "" ,", " & Appointments[Staff])
Hi @av9
Try this
Attendees = Appointments[Customers] & if(len(Appointments[Accounts])>0,", " & Appointments[Accounts] , "") & if(len(Appointments[Staff])>0, ", " & Appointments[Staff], "")
Phil
Proud to be a Super User!
Hi @av9
Try this
Attendees = Appointments[Customers] & if(len(Appointments[Accounts])>0,", " & Appointments[Accounts] , "") & if(len(Appointments[Staff])>0, ", " & Appointments[Staff], "")
Phil
Proud to be a Super User!
Hi @av9 ,
Can you try this
Text.Combine(List.Select({Appointmnets[Customers],Appointmnets[Accounts],Appointmnets[Staff]}, each _<> "" and _ <> null)," , ")
Hope this helps.
Cheers,
-Namish B
@av9 , you can use if to control
Attendees = Appointments[Customers] & if(isblank(Appointments[Accounts]),"" , ", " & Appointments[Accounts] )& if(isblank(Appointments[Staff]) , "" ,", " & Appointments[Staff])
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
60 | |
58 | |
54 | |
36 | |
33 |
User | Count |
---|---|
79 | |
66 | |
45 | |
44 | |
42 |