Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
I'm creating a visual page in PowerBI. I want to create a measure that'll take:
and split it using the "|" delimeter, which would create 2 rows. How can I do this? Thank you!
Solved! Go to Solution.
After doing the steps in Power Query, you could use pivot or Unpivot in Power Query :
Select the Columns, right click on ones :
At the end delete the Unused column(s), and use the rest in your visuals in Row
Hi,
For this purpose, you could split the column based on the Delimiter. Go to the power query, right-click on the particular column, and select Split ...
Then Enter the "|" in second field and press Ok button :
- Also you could use below DAX statement in Power Bi, when you want to create new columns :
Thanks for the response. But I need to split a concatnated string into rows within visual
After doing the steps in Power Query, you could use pivot or Unpivot in Power Query :
Select the Columns, right click on ones :
At the end delete the Unused column(s), and use the rest in your visuals in Row
User | Count |
---|---|
81 | |
75 | |
74 | |
42 | |
36 |
User | Count |
---|---|
114 | |
56 | |
51 | |
42 | |
42 |