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 September 15. Request your voucher.
Good afternoon, everyone,
I have in my sales table a column called "Description". In this column users place some observation about the sale. The issue is that they make line breaks. To visualize these observations in a table I need to remove those line breaks and for this I use the function:
Detalle = SUBSTITUTE('facturas todas'[Descripcion],UNICHAR(10),"- ")
Solved! Go to Solution.
There might be both carriage returns and line feeds in the column. Does this fix it?
Detalle = SUBSTITUTE(SUBSTITUTE('facturas todas'[Descripcion],UNICHAR(10),"- "),UNICHAR(13),"- ")
UNICHAR(13) is carriage return
Thank you very much, you solved it!
Big hug
There might be both carriage returns and line feeds in the column. Does this fix it?
Detalle = SUBSTITUTE(SUBSTITUTE('facturas todas'[Descripcion],UNICHAR(10),"- "),UNICHAR(13),"- ")
UNICHAR(13) is carriage return