Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hello,
I am seeking assistance for an appropriate measure to concatenate certain text values in a column to then = a single text value. This would be applicable to the listed items below from a single column. I am looking to acheive the following:
Site page, BMS Navigation Page, BMS BPAD = Web Page
Policy, Framework, Plan, Manual, Procedure, Instruction, Guide, Handbook = Documents
The remainder of the values in the column would remain as is.
Any assistance would be much apppreciated! 🙂
Create a calculated column:
Category =
SWITCH(
TRUE(),
'Table'[Column] IN {"Site page", "BMS Navigation Page", "BMS BPAD"}, "Web Page",
'Table'[Column] IN {"Policy", "Framework", "Plan", "Manual", "Procedure", "Instruction", "Guide", "Handbook"}, "Documents",
'Table'[Column]
)
Replace 'Table'[Column] with your actual table and column names.
If this answer helped, please click Kudos or mark as Solution.
-Kedar
LinkedIn: https://www.linkedin.com/in/kedar-pande
Hi @AMBP1973 ,
Thank you for reaching out to the Microsoft Community Forum.
Hi @Jihwan_Kim , Thank you for your prompt response.
Hi @AMBP1973 , Could you please try the proposed solution shared by @Jihwan_Kim ? Let us know if you’re still facing the same issue we’ll be happy to assist you further.
Regards.
Dinesh
Hi,
I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.
I tried to create calculated column.
CC_slicer =
SWITCH (
TRUE (),
slicer[slicer] IN { "site page", "bms bpad", "mbs navigation page" }, "web page",
slicer[slicer]
IN { "policy", "framework", "plan", "manual", "process", "prodecure", "guide" }, "documents",
slicer[slicer]
)
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.