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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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
v-jayw-msft
Community Support
Community Support

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

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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