This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
Hello, i have one interesting question, i have a Path column(19 levels down) and SubPath column
Path Column, Sub-Parh Column
A/B/C B/C
A/B/D B/D
A/B/E B/E
I want to identify if Path column contains in it(at any level) a SubPath column's value, so in the middle of Path Column does the Sub-Path column's value exist?. Return true in case it contains it, else false. Tried with IF(CONTAINS, but it didn't work because it return only when you have the exact match between the 2 columns(for example if Path Column=A/B/C and the Sub-Path contains again A/B/C it works because they are exactly same, but if Sub-Path is on A/B it doesn't give me true). Can you help me please?
Solved! Go to Solution.
Hi @Giavo,
Please try this formula:
Column = IF ( ISERROR ( FIND ( 'Path'[Sub-Path Column], 'Path'[Path Column] ) ), "False", "True" )
Best regards,
Yuliana Gu
Hi @Giavo,
Please try this formula:
Column = IF ( ISERROR ( FIND ( 'Path'[Sub-Path Column], 'Path'[Path Column] ) ), "False", "True" )
Best regards,
Yuliana Gu
Do you think that it is possible in Power BI to Highlight or put in Evidence some how the Sub-Path part inside the Path column ? So if TRUE then i would like that part be highlighted inside Path
Thank you very much Yuliana, it worked 🙂
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 15 | |
| 11 | |
| 9 | |
| 8 | |
| 6 |
| User | Count |
|---|---|
| 27 | |
| 23 | |
| 18 | |
| 15 | |
| 13 |