Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Is there a way to add a dynamic custom column that returns the contents of a cell for the entire column? I need the conents of 'First Column' row 1 to become an entire row of duplicates without having to manually type it in as a custom column as I have done in the pictures below.
Solved! Go to Solution.
This should do the trick.
let
Source = Table.FromRows(
Json.Document(
Binary.Decompress(
Binary.FromText(
"i45WCkotSE0sSU1RCEvMKU1VitWJVnLMyy/JSC1CEknML07NK4Ewi/MzUkvywOz81KK8gtIUKLs4I6+ktAjMKU0pSs0H64gFAA==",
BinaryEncoding.Base64
),
Compression.Deflate
)
),
let
_t = ((type nullable text) meta [Serialized.Text = true])
in
type table [Column1 = _t]
),
#"Added Custom" = Table.AddColumn(Source, "Custom", each Source{0}[Column1])
in
#"Added Custom"
Have I solved your problem? Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;). |
If you found this post helpful, please give Kudos. It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen. If you find my signature vaguely amusing, please give Kudos. | Proud to be a Super User! |
This should do the trick.
let
Source = Table.FromRows(
Json.Document(
Binary.Decompress(
Binary.FromText(
"i45WCkotSE0sSU1RCEvMKU1VitWJVnLMyy/JSC1CEknML07NK4Ewi/MzUkvywOz81KK8gtIUKLs4I6+ktAjMKU0pSs0H64gFAA==",
BinaryEncoding.Base64
),
Compression.Deflate
)
),
let
_t = ((type nullable text) meta [Serialized.Text = true])
in
type table [Column1 = _t]
),
#"Added Custom" = Table.AddColumn(Source, "Custom", each Source{0}[Column1])
in
#"Added Custom"
Have I solved your problem? Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;). |
If you found this post helpful, please give Kudos. It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen. If you find my signature vaguely amusing, please give Kudos. | Proud to be a Super User! |
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
100 | |
51 | |
19 | |
12 | |
11 |