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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
KatjaPosohin
New Member

Creating new column for Revenue doesn't work

Hello,

 

 

I'm trying to create a new column in the table section to calculate the revenue using the new column and the formula 

Revenue = sales[Units] * sales[Price] but it doesn't follow my command after clicking enter. What seems to be the issue?
Screenshot 2025-03-22 095817.png
9 REPLIES 9
v-veshwara-msft
Community Support
Community Support

Hi @KatjaPosohin ,

We’re following up once more regarding your query. If it has been resolved, please mark the helpful reply as the Accepted Solution to assist others facing similar challenges.

If you still need assistance, please let us know.
Thank you.

v-veshwara-msft
Community Support
Community Support

Hi @KatjaPosohin ,

Following up to see if your query has been resolved. If any of the responses helped, please consider marking the relevant reply as the 'Accepted Solution' to assist others with similar questions.

If you're still facing issues, feel free to reach out.

Thank you.

v-veshwara-msft
Community Support
Community Support

Hi @KatjaPosohin ,

Just checking in to see if you query is resolved and if any responses were helpful. If so, kindly consider marking the helpful reply as 'Accepted Solution' to help others with similar queries. 

Otherwise, feel free to reach out for further assistance.

Thank you.

meechielvp60
Helper I
Helper I
meechielvp60
Helper I
Helper I

@jira , 

rohit1991
Super User
Super User

HI @KatjaPosohin.,

It looks like you're trying to create a new column for Revenue using the formula

Revenue = sales[Units] * sales[Price],

but it's not working as expected after pressing Enter. One likely issue is that you're trying to reference the columns using the sales table prefix while already working within that same table context.

 

In Power BI's data view (as shown in your screenshot), when you're creating a new calculated column directly within the same table, you should reference the columns without the table name prefix. So instead of sales

[Units] * sales[Price],

simply use Units * Price in your formula.

 

Also, ensure that both Units and Price are recognized as numeric data types—if either is stored as text, the calculation will fail silently. If you correct the formula and the data types are set correctly, the new Revenue column should generate as expected.

 

Passionate about leveraging data analytics to drive strategic decision-making and foster business growth.

Connect with me on LinkedIn: Rohit Kumar

Ashish_Mathur
Super User
Super User

Hi,

That calculated column formula seems correct.  Share the download link of the PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
sanalytics
Super User
Super User

Hello @KatjaPosohin 
Can you try below DAX code.. 

Revenue = Sumx('Sales','Sales'[Units] * 'Sales'[Price] ) 

Let me know if it is working or not.

 

Regards

sanaltyics

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.