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.
Olá amigos, preciso de uma ajuda com total distinto de uma medida.
Abaixo está a tabela
coluna1 Coluna2
A 10
B 20
A 10
C 30
D 20
A saída desejada seria 80, pois A repete e de só deve ser considerado uma vez
Como posso realizar essa soma distinta?
This is the measurement I'm currently using
RevAnt =
var risco = [RiscoSacadoGroup]
var ref = CALCULATE(SUM(Estoque[%Referencia]),GROUPBY(Estoque,Estoque[DOC_SACADO_Raiz]))
retornar
ref * risco
this is my table
Solved! Go to Solution.
Hi @DeividDrr
please try
RevAnt =
SUMX (
SUMMARIZE (
Estoque,
Estoque[DOC_SACADO_Raiz],
"Referencia", MAX ( Estoque[%Referencia] )
),
[Referencia]
) * [RiscoSacadoGroup]
Hi @DeividDrr
please try
RevAnt =
SUMX (
SUMMARIZE (
Estoque,
Estoque[DOC_SACADO_Raiz],
"Referencia", MAX ( Estoque[%Referencia] )
),
[Referencia]
) * [RiscoSacadoGroup]
Muito Obrigado! Deu tudo certo!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
42 | |
21 | |
21 | |
14 | |
13 |
User | Count |
---|---|
43 | |
36 | |
33 | |
18 | |
18 |