Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
In Power Query, I would like to get the column [Result] based on Column A and Column B.
In Column A and Column B, there are duplication of texts, I would like to extract the part without duplications:
Any ideas how I can achieve this in Power Query or DAX?
Thank you!
Solved! Go to Solution.
@alice11987 Create a column using this dax:
@alice11987 Create a column using this dax:
You can try this DAX approach. Create new calculated column:
In your example you are not taking into account the pure difference and in my case this will give underscore _ that can be removed if you like. I hope that this will be easy to be replicated in PQ, but for the moment I am not aware what is the functions there.
Proud to be a Super User!
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 46 | |
| 31 | |
| 29 | |
| 15 | |
| 15 |
| User | Count |
|---|---|
| 58 | |
| 56 | |
| 38 | |
| 21 | |
| 21 |