Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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!
| User | Count |
|---|---|
| 53 | |
| 37 | |
| 31 | |
| 21 | |
| 19 |
| User | Count |
|---|---|
| 138 | |
| 102 | |
| 59 | |
| 36 | |
| 35 |