Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hola a todos, necesito ayuda, el caso es el siguiente:
Tengo una tabla con muchas transacciones (ventas facturadas, cantidades, números de pieza) y tengo otra tabla con el precio de la lista blanca por país (el "precio de lista blanca" incluye todos los precios sin descuentos), así que me gustaría agregar una nueva columna con las ventas facturadas con el "precio de lista blanca" según los países.
Espero que alguien pueda ayudarme.
Solved! Go to Solution.
Puede tener nuevas columnas como
white list price = Minx(filter('white list price','white list price'[country] ='transactions '[country] ),'white list price'[price])
or
white list price = Minx(filter('white list price','white list price'[country] ='transactions '[country] && 'white list price'[item] ='transactions '[item]),'white list price'[price])
Puede tener nuevas columnas como
white list price = Minx(filter('white list price','white list price'[country] ='transactions '[country] ),'white list price'[price])
or
white list price = Minx(filter('white list price','white list price'[country] ='transactions '[country] && 'white list price'[item] ='transactions '[item]),'white list price'[price])
Por lo tanto, los datos de muestra serían tremendamente útiles. Por favor, consulte este post sobre cómo obtener su pregunta respondida rápidamente: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
Suponiendo que tenga una columna País en su primera tabla, podría hacer algo como esto:
Column =
VAR __Country = 'Table'[Country]
VAR __WhiteListPrice =
LOOKUPVALUE(
'White List Price Table',
'White List Price Table'[White List Price],
'White List Price Table'[Country],
__Country
)
REUTRN
__WhiteListPrice
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
3 | |
2 | |
1 | |
1 | |
1 |