Forum Discussion
Extract url from text in DAX
- 10 years ago
Hi Matt and Baskar - I've followed your suggestion Matt and sorted the problem starting from Query Editor>Transform>Split Column>By Delimiter>Custom>"https".
Thanks again!
Cheers
Ben
I agree, you need to post an example. But I also think this is a task for data shaping in power query (get data) and not DAX.
Hi
Thanks for getting back to me and good point on power query.
Screen grab of examples below - as you can see the urls aren't always in the same spot:
Thanks
Ben
- MattAllington10 years ago
Community Champion
How about using power query to split column on colon : then rebuild the URL http:// from there
- Ben_Nash10 years agoFrequent Visitor
Hi Matt
Thanks for this - will do. Apologies for my ignorance but is there anyway I can bring across to power query the actual excel formula I have?
Regards
Ben
- MattAllington10 years ago
Community Champion
No way unfortunately. But using the power query UZi is much easier than writing Excel formulas.