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! Get ahead of the game and start preparing now! Learn more
How to check whether "AWA" exists in "AWA O-2VL9K". If it exists then return "AWA" else return the value as it is.
Please assume both of this is from a differen column.
Solved! Go to Solution.
@Ahmedx Thanks a lot for this. I will check this.
Any idea how we can automate this code. In the sense currently I checking for one by one dim_campaign_pca[campaignObjective] by hardcoding the value, so if any new value is added in the dim_campaign_pca[campaignObjective] then we have to update the code manually everytime, so to avoid this manual activity we need to automate it. We need you help for this.
and try this
plse try this
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 150 | |
| 126 | |
| 109 | |
| 79 | |
| 54 |