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

calculate columns from two tables

Hello everybody,

I have a problem, can you help me?

I have 2 tables; an information and a data table.

I want to calculate a new column like in the example. Is that possible?

Example:

 

articelarticel_statsitic
100
110
101010
101111

 

articelordersales
1005
1104
1010150
10112014

 

solution:

articelordersalesorder_New
100515
110410
1010150-15
10112014-20
5 REPLIES 5
dax
Community Support
Community Support

Hi @Anonymous , 

I am not clear about your requirement, could you please explain the logic of [order_new] column? If possible could you please inform me more detailed information(such as your expected output and your sample data)? Then I will help you more correctly.

Please do mask sensitive data before uploading.

Thanks for your understanding and support.
Best Regards,
Zoe Zhi

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

Anonymous
Not applicable

@camargos88  i´m sorry for that 😉 

 

Sorry.


I try something else:

If the articel has deposited a statistical articel, then the orders should be booked to the statistical articel.

Table 1 states: Article 1010, Article 10 as a statistical article.

That's why I have to add up all the values ​​of article 1010 to article 10

@Anonymous ,

 

So the relations are always 1 to 1 ?

And the values that's giving should be multiplied to -1 ?



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

Proud to be a Super User!



Anonymous
Not applicable

No, unfortunately not. There are many articles with the same stored statistical articles.

 
 

Statistic_artikel.jpg

camargos88
Community Champion
Community Champion

@Anonymous ,

 

Sorry, I didn't get the logic for that. Can you explain more ?



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

Proud to be a Super User!



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!

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.

Top Solution Authors