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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Calculated Column

Can i create a calculated Column in Power Bi using col from diff tables ?

Example - I have sales data in table1 

and i have cost data in table2

Can i calculate Revenue from these two measures ? 

 

Both the tables are joined based on order id

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous ,

 

You might be able to create calculated column based on columns from different tables, but it's not supported to create calculated column based on measures.

If you need help with DAX formula, please show some sample data and expected result to us.

 

Best Regards,

Jay

ryan_mayu
Super User
Super User

@Anonymous 

maybe you can try to use RELATED or RELATEDTABLE

https://docs.microsoft.com/en-us/dax/related-function-dax

https://docs.microsoft.com/en-us/dax/relatedtable-function-dax





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




jaideepnema
Solution Sage
Solution Sage

Hi @Anonymous ,
Why do you want to create a calculated column ? Cant a measure work in this case ?

Additionally can you please help with some sample data to look into your query ?

 

Regards,

Jaideep Nema

Anonymous
Not applicable

Hi Jaydeep

I dont want an aggregarted value, I want it corresponding to certain other parameters.

 

Like if you consider the same example given above, I may need revenue wrt each sector or region etc. 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.