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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Como mostrar o % de um sub-total em uma Matriz, segue abaixo imagem da Matriz.
Segue abaixo a medida utilizada.
Criei a medida abaixo e tentei colocar no visual, porem não fucionou
Solved! Go to Solution.
Hi @tgsilva07 ,
You can try the following measure:
True =
var _table=SUMMARIZE('DRE','DRE'[Tipo],"Value",[DER1])
return
IF(
HASONEVALUE(DRE[Tipo]),[DER1],
FORMAT(
DIVIDE(
SUMX(
FILTER(ALL('DRE'),
'DRE'[Tipo] = "% Lucro Operacional" || 'DRE'[Tipo]="% Lucro Liquido"),[Value]),
SUMX(_table,[Value])
),"percent"))
If it does not meet your expectations, you can express the desired result in the form of a picture, and we can help you better
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @tgsilva07 ,
You can try the following measure:
True =
var _table=SUMMARIZE('DRE','DRE'[Tipo],"Value",[DER1])
return
IF(
HASONEVALUE(DRE[Tipo]),[DER1],
FORMAT(
DIVIDE(
SUMX(
FILTER(ALL('DRE'),
'DRE'[Tipo] = "% Lucro Operacional" || 'DRE'[Tipo]="% Lucro Liquido"),[Value]),
SUMX(_table,[Value])
),"percent"))
If it does not meet your expectations, you can express the desired result in the form of a picture, and we can help you better
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Obrigado. Conseguir resolver.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 14 | |
| 7 | |
| 4 | |
| 4 | |
| 3 |
| User | Count |
|---|---|
| 25 | |
| 10 | |
| 10 | |
| 6 | |
| 6 |