Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
C 21/03/19 C 72.000 |
into 4 new column where my assetype(another column containing values equity,option)=equity
Solved! Go to Solution.
Please try to add 2 new columns:
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WclYwMtQ3MNY3tFRwVjA30jMwUNJRctXxV4rViVZy93WFShuYAqWNzE1R5b1dQRwwMyTYxxFhVICCqYGBAapiR9+gYIjyWAA=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Column1 = _t, Column2 = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"Column1", type text}, {"Column2", type text}}),
#"Added Custom" = Table.AddColumn(#"Changed Type", "Custom", each Text.BeforeDelimiter([Column1], " ")),
#"Added Custom1" = Table.AddColumn(#"Added Custom", "Custom.1", each Text.BetweenDelimiters([Column1], " ", ".", 2, 1))
in
#"Added Custom1"
Please try to add 2 new columns:
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WclYwMtQ3MNY3tFRwVjA30jMwUNJRctXxV4rViVZy93WFShuYAqWNzE1R5b1dQRwwMyTYxxFhVICCqYGBAapiR9+gYIjyWAA=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Column1 = _t, Column2 = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"Column1", type text}, {"Column2", type text}}),
#"Added Custom" = Table.AddColumn(#"Changed Type", "Custom", each Text.BeforeDelimiter([Column1], " ")),
#"Added Custom1" = Table.AddColumn(#"Added Custom", "Custom.1", each Text.BetweenDelimiters([Column1], " ", ".", 2, 1))
in
#"Added Custom1"
@PoojaTekriwal , In power query, ISe split option right click of column Based on Space in new 4 columns
refer my Video: https://www.youtube.com/watch?v=FyO9Vmhcfag
or
https://www.tutorialgateway.org/how-to-split-columns-in-power-bi/
My requirement is that i want to split my first column when my fifth column value is option,equity otherwise no split
Hello @PoojaTekriwal ,
I am not sure its possible to split column with condition. But you can filter the value on the column and then split the column. But that will skipped the other data. I am not sure whether you will get the desired result you want.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
63 | |
59 | |
56 | |
38 | |
29 |
User | Count |
---|---|
82 | |
62 | |
45 | |
41 | |
40 |