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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

Creating Calculated column from Different table has a relationship but storage mode direct

I have Table A and Table B and both tables are joined using relationship, these tables storage mode set as Direct Query, is it possible to create a calculated with merging these tables/ or Is it possible using DAX formula? If so please advise me.

3 REPLIES 3
MattAllington
Community Champion
Community Champion

Why do you need a Calc column?  Power BI is designed to allow you to use data in different tables. 



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.
Anonymous
Not applicable

I have Product & Sales in Table A and Product and Commission in Table B, and both these tables are joined using Product in the model. My Calcuclated column logic should be

 

Table A[Sales]*Table B[Commision] 

 

I tried using Lookupvalue and Related DAX fuction, throwing an error message. Since i am not sure what is the right approach, please advise.

 

I am using this in Direct Query mode and connected to Oracle database

Hi @Anonymous ,

 

What is the relationship between the two tables?

Could you paste sample data or screenshots of two tables?

You can also try the CROSSFILTER function

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.