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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
jesly_ajin
Helper III
Helper III

Calculate measure / values using 2 non-dependent tables

Hi,

Below is the relation between my tables. I need to calculate a value based on columns from Tables C & D or B & C.

Example: 'B'[Total] * 'C'[Engine_On]

Please help me achieve this as I am unable to find the table names while trying to create measures.

 

jesly_ajin_0-1668489063842.png

Thanks in advance.

1 ACCEPTED SOLUTION
v-jianboli-msft
Community Support
Community Support

Hi @jesly_ajin ,

 

If there is no relationship between these two tables, how do you determine the correspondence between the two columns you want to multiply? You can multiply them together by using aggregated values

e.g. MAX('B'[Total]) * MAX('C'[Engine_On])

 

Here is my sample data:

vjianbolimsft_1-1668580119022.png

vjianbolimsft_2-1668580129654.png

 

 

Measure = MAX('B'[Total])*MAX('C'[Engine_On])

 

Output:

vjianbolimsft_0-1668580068460.png

Best Regards,

Jianbo Li

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

View solution in original post

1 REPLY 1
v-jianboli-msft
Community Support
Community Support

Hi @jesly_ajin ,

 

If there is no relationship between these two tables, how do you determine the correspondence between the two columns you want to multiply? You can multiply them together by using aggregated values

e.g. MAX('B'[Total]) * MAX('C'[Engine_On])

 

Here is my sample data:

vjianbolimsft_1-1668580119022.png

vjianbolimsft_2-1668580129654.png

 

 

Measure = MAX('B'[Total])*MAX('C'[Engine_On])

 

Output:

vjianbolimsft_0-1668580068460.png

Best Regards,

Jianbo Li

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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