Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I am new to Power BI and I am trying to add a custom column and the details are as below. I am getting an error as below, kindly help me here.
Expression.Error: We cannot convert a value of type List to type Text.
Details:
Value=[List]
Type=[Type]
Custom_ExpectedFulfilmentTime
= Table.AddColumn(#"Removed Columns", "Custom", each if(#"Actionable Demands"[Service Line Input] = null)
then #"Actionable Demands"[#"Allocation ETA/DOJ"]
else if(Text.Contains(#"Actionable Demands"[Service Line Input] , "internal", Comparer.OrdinalIgnoreCase))
then Date.ToText(Date.From(DateTime.LocalNow()),"MM/dd/yyyy")
else if(Text.Contains(#"Actionable Demands"[Service Line Input] , "extension", Comparer.OrdinalIgnoreCase))
then Date.ToText(Date.From(DateTime.LocalNow()),"MM/dd/yyyy")
else "TBD")
Solved! Go to Solution.
Hi,
A few things:
if condition then output else output
Thank you i have removed #"Actionable Demands" as you said
Hi,
A few things:
if condition then output else output
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
100 | |
78 | |
75 | |
50 |
User | Count |
---|---|
144 | |
109 | |
108 | |
88 | |
61 |