Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Solved! Go to Solution.
Hi @Anonymous
This error indicates you try to use both date and text format values in one calculated column, so Power BI can't analyze the data type for this calcualted column.
eg. Column=IF([CL1]=1,DATE(2009,1,1)," ")
I can reproduce your problem, then i split two formula in two column
Finally, you can modify the column as below to make it work
BIZ DATE modify =
var dateidx = calculate( max('Calendar'[WorkingDayIndex] ) , Sheet1[ATD] = RELATED('Calendar'[Date] ) )
var newdateidx = dateidx + Sheet1[BIZ DAYS]
var datevalue=
calculate(
max('Calendar'[Date]),
filter(
ALL('Calendar'),
'Calendar'[WorkingDayIndex] = newdateidx
&& 'Calendar'[IsWorkDay] = 1
)
)
return if(NOT(and(Format([ATD],"")=blank(),format([BIZ DAYS],"")=blank())),datevalue)
Hi @Anonymous
This error indicates you try to use both date and text format values in one calculated column, so Power BI can't analyze the data type for this calcualted column.
eg. Column=IF([CL1]=1,DATE(2009,1,1)," ")
I can reproduce your problem, then i split two formula in two column
Finally, you can modify the column as below to make it work
BIZ DATE modify =
var dateidx = calculate( max('Calendar'[WorkingDayIndex] ) , Sheet1[ATD] = RELATED('Calendar'[Date] ) )
var newdateidx = dateidx + Sheet1[BIZ DAYS]
var datevalue=
calculate(
max('Calendar'[Date]),
filter(
ALL('Calendar'),
'Calendar'[WorkingDayIndex] = newdateidx
&& 'Calendar'[IsWorkDay] = 1
)
)
return if(NOT(and(Format([ATD],"")=blank(),format([BIZ DAYS],"")=blank())),datevalue)
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.