cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Syndicate_Admin
Administrator
Administrator

Convertir una medida en una columna calculada

Tengo 2 tablas desconectadas:

Columna ProductValueLookup

A2?
A3?
B4?
B5?

y

ProductValue2

A3
A2
A2
B1

Puedo crear una medida para buscar y sumar el valor de la tabla 2 a la tabla 1:

Lookup Measure = CALCULATE(SUM(Table2[Value2]), TREATAS(VALUES(Table1[Product]), Table2[Product]))

¿Cómo puedo crear una columna calculada en la tabla 1 para tener el mismo resultado que la medida anterior?

Aquí está el enlace del archivo PBI: https://1drv.ms/u/s!Aps8poidQa5zmbVOuWoPQC_VC5yysw?e=XGeX4T

gracias

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

Lookup Column = 
CALCULATE(
    SUM( Table2[Value2] ),
    TREATAS( { ( Table1[Product] ) }, Table2[Product] )
)

Screenshot 2021-06-23 125130.png

View solution in original post

1 REPLY 1
Syndicate_Admin
Administrator
Administrator

Lookup Column = 
CALCULATE(
    SUM( Table2[Value2] ),
    TREATAS( { ( Table1[Product] ) }, Table2[Product] )
)

Screenshot 2021-06-23 125130.png

View solution in original post

Helpful resources

Announcements
MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Urdu Hindi D365 Bootcamp 768x460.png

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors