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 dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
How to sum columns with dynamic title (based on ranges + text)
So far i am trying to sum up two columns, which name is composed by dynamic range + an extra text at the end:
dynamic range1= commodity
dynamic range2=country1=export country
extra text= "ATL A" and "PAC A"
so far i have tried this (extrated text from ranges):
#"Created column2" = Table.AddColumn(#"Created column1, "column name", each Text.From(Country1)&" "&Text.From(Commodity)&"ATL A" + Text.From(Country1)&" "&Text.From(Commodity)&" E PAC A", type number),
i also tried to name the ranges inside the brackets:
#"Created column2" = Table.AddColumn(#"Created column1, "column name", each [Country1 Commodity ATL A] + [Country1 Commodity PAC A], type number),
but does not worked so far. I can't think about anything else. Could somebody help on this? thank you a lot!!!!!!!
Hi @lgo
Can you please provide a snapshot of your data and column names. And an example of the results you expect. Hard to visual all of this just in text.
Regards
Phil
Proud to be a Super User!
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 |
---|---|
10 | |
8 | |
7 | |
6 | |
6 |