Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
Hi,
Basically we have two populated columns A and B and we wish column C to be populated with the product of of the individual entries of columns A and B. Ideally we'd like to avoid calculated columns as this places the new column at the end.
Tried playing about with the advanced editor, but still haven't been able to solve this. Is there something straight forward we're missing?
Let me know if you need any more info or if I need to rephrase this question!
Cheers.
Hi @michaelh121,
For your requirement, you can directly multiply two columns, then use CONCATENATE() to concatenate the result with existing column context into single string. The expression can be like:
= CONCATENATE("existing text",table[col1]*table[col2])
Please refer to screenshot below:
Regards,
Hello Simon,
We're unable to place the results in an already existing column with your method. We've only been able to create a new column with the results.
Total Labour Cost = CONCATENATE("",tablename[Rate ]*tablename[Total Days to be Billed])
This is what we tried to use, but we get told that the column name already exists. Are you doing this in query editor or data view? Is this a measure or a new column?
We managed to do it using this code in the advanced query editor
(added screenshot cause code wasn't pasting correctly)
Wondering if there's better way?
In the query editor, you can create a custom column and then drag and drop it to the spot that you want it.
The problem is that we want to do this for a high number of columns. Ideally we'd just like to calculate the amount in each of these columns rather than having to create a calculated column each time and drag/drop. Is there a method for this?
Kind Regards,
M&P
So we want Total Labour Cost to be Rate x Total Days to be Billed (preferably without calculated column).
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
70 | |
55 | |
38 | |
31 |
User | Count |
---|---|
75 | |
64 | |
64 | |
49 | |
45 |