The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I got error message with this fomular :
Solved! Go to Solution.
Hi @haidong ,
I think there may be spaces in the item_n column.
You can try the DAX below:
Column =
IF (
SEARCH ( "no", 'GI_Yield Feb20'[Item_N], 1, 0 ) > 0,
'GI_Yield Feb20'[Qty in unit of entry] / 2,
'GI_Yield Feb20'[Qty in unit of entry]
)
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @haidong ,
I think there may be spaces in the item_n column.
You can try the DAX below:
Column =
IF (
SEARCH ( "no", 'GI_Yield Feb20'[Item_N], 1, 0 ) > 0,
'GI_Yield Feb20'[Qty in unit of entry] / 2,
'GI_Yield Feb20'[Qty in unit of entry]
)
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Try like this nad check
if('GI_Yield Feb20'[Item_N] & ""="no",'GI_Yield Feb20'[Qty in unit of entry]/2,'GI_Yield Feb20'[Qty in unit of entry]
Make sure data type changed here
Hi
i m trying to extract first X digits out of my ID column of data as
Hi @haidong
First of all heck it in Power Query Editor mode (if available)
or you can debug issue with ISTEXT() function
The statement
Column = ISTEXT('GI_Yield Feb20'[Item_N])
should return you true if the field is exactly Text