Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
Anonymous
Not applicable

x

 
6 REPLIES 6
v-xiaotang
Community Support
Community Support

Hi @Anonymous 

Thanks for reaching out to us.

 

I noticed that your problem description has been deleted. Has the problem been resolved? If yes, could you accept the answer helpful as solution to help others find it quickly? If not, could you add more details so that we can help you further? Thanks 🙂

 

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

mattww
Responsive Resident
Responsive Resident

@Anonymous , could you provide a bit more information on what your expected output looks like?

 

Have you tried something like Split by Delimiter or Column from Examples?

Anonymous
Not applicable

@mattww This is the matrix table i am working on. 

JonSnow777_0-1636482397164.png

I am trying to end up with Somthing like this:

JonSnow777_2-1636482597280.png

 

where i add the two values together 

 

 

@Anonymous Just create a new calculated column:

 

Column2 = "Water"

 

Use that in your visual instead of the other Column1



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
smpa01
Community Champion
Community Champion

@Anonymous  can you please clearly provide sample data and expected output in a table format and not picture?


========================
Did I answer your question? Mark my post as a solution!
Proud to be a Super User
My Custom Visualization Projects
• Plotting Live Sound: Live Sound
• Beautiful News: Women in Parliament, Energy Mix, Shrinking Armies
• Visual Capitalist: Working Hrs
• Others: Easing Graph, Animated Calendar
MayViz Submissions
• Week 1: View
• Week 2: View
• Week 3: View
• Week 4: View
========================
mattww
Responsive Resident
Responsive Resident

Thanks @Anonymous 

 

Ok, I would suggest creating a new column using Text.BeforeDelimiter in Power Query

 

let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WCncMcQ1S0FVwC3J0VtJRMjE2NTQ3VYrVQcgEhPsCJXRNjA3NzYz0zAyVYmMB", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Description = _t, #"AFE-Field Est" = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"Description", type text}, {"AFE-Field Est", type number}}),
#"Added Custom" = Table.AddColumn(#"Changed Type", "DescriptionSplit", each Text.BeforeDelimiter([Description]," - ")),
#"Grouped Rows" = Table.Group(#"Added Custom", {"DescriptionSplit"}, {{"AFE-Field Est (agg)", each List.Sum([#"AFE-Field Est"]), type nullable number}})
in
#"Grouped Rows"

 

The Grouping in Power Query may be unneccesary if you want to do your aggregations in DAX when building your visuals.

 

Alternatively, you could create a dimension table to attach to your budget code.

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

 

 

Helpful resources

Announcements
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors
Top Kudoed Authors