Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I have this piece of SQL code and I need to convert it in a DAX formula.
I got half way through it and the below is working perfectly:
Hi @adoalan ,
Please use the below i took it from your piece of example only,
Hi @adoalan ,
Try this out then using IF condition
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
I created coloumn and getting this
Hi @adoalan ,
I have replicated the same with a sample table with 3 rows,
Please see you can access the attached one drive link.
I created this table -
and using this calcution -
Hi @adoalan ,
I think you are creating a calculated measure.
Create a calculated column.
Regards,
Nikhil Chenna
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
@adoalan You can use SEARCH or FIND as an equivalent for CONTAINSSTRING
@Greg_Deckler I tried but something is not working because I cannot get any results!
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 |
|---|---|
| 51 | |
| 33 | |
| 32 | |
| 18 | |
| 17 |
| User | Count |
|---|---|
| 66 | |
| 66 | |
| 44 | |
| 27 | |
| 25 |