The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi Every body,
I have the following table :
Now please add columns to get the following:
Solved! Go to Solution.
Hi @koorosh , yes you can achieve this using power query editor , follow below steps :
Step 1) Open the power query editor and duplicate the Path Column by right clicking on the column :
Step 2) Right click on the duplicated column and select split column by delimiter :
Step 3) Then you can remove the below highlighted column :
Step 4) now for the first splitted column, you can replace the blank value with 'root' as shown below :
This will give you the expected result.
let me know if this works for you else share the additional details for your requirement.
Thanks,
Ankita
I think the @AnkitaaMishra solution will generate only one column.
This might be a better solution :
Populate columns in Power BI based on the folder s... - Microsoft Fabric Community
Hi @koorosh , yes you can achieve this using power query editor , follow below steps :
Step 1) Open the power query editor and duplicate the Path Column by right clicking on the column :
Step 2) Right click on the duplicated column and select split column by delimiter :
Step 3) Then you can remove the below highlighted column :
Step 4) now for the first splitted column, you can replace the blank value with 'root' as shown below :
This will give you the expected result.
let me know if this works for you else share the additional details for your requirement.
Thanks,
Ankita
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
78 | |
70 | |
52 | |
50 |
User | Count |
---|---|
120 | |
120 | |
76 | |
62 | |
61 |