Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
my original code. which is too long. I want to use a list to check and reference the output result.
= Table.AddColumn(#"Removed Duplicates", "Custom", each if Text.Contains([项目名称], "淀粉") then "scatch" else if Text.Contains([项目名称], "农产品") then "Argo" else if Text.Contains([项目名称], "玉米") then "Corn" else if Text.Contains([项目名称], "面粉") then "Flour" else if Text.Contains([项目名称], "谷物") then " grain" else if Text.Contains([项目名称], "蘑菇") then "mushroom"else if Text.Contains([项目名称], "植物") then "Plant" else "OTHER")
another table with a key list
Customer activity | Sales Unit | Chinese translation |
Starch | Agro | 淀粉 |
Agro | Agro | 农产品 |
Corn | Agro | 玉米 |
Flour/ grain | Agro | 面粉/谷物 |
Mushroom | Agro | 蘑菇 |
@pheinue , refer if this can help
https://www.myonlinetraininghub.com/searching-for-text-strings-in-power-query
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
75 | |
63 | |
51 | |
48 |
User | Count |
---|---|
204 | |
86 | |
62 | |
59 | |
56 |