Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
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!
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.
User | Count |
---|---|
9 | |
8 | |
6 | |
4 | |
3 |