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.
Qual a função para acumular os valores da coluna - ACUMULADO PART.% QTD VENDA? A tabela é dinamica e a primeira coluna são campos da tabela PRODUTO. EX: DEP_ITEM, SEC_ITEM,COD_ITEM,DESC_ITEM
DEP_ITEM | QTD VENDA | PART% QTD VENDA | ACUMULADO PART.% QTD VENDA |
DEP1 | 300 | 50% | 50% |
DEP2 | 200 | 33,33% | 83,33% |
DEP3 | 100 | 16,67% | 100% |
TOTAL | 600 | 100% | 100% |
Solved! Go to Solution.
Ola Muito Obrigado pela resposta.
Mas o que precisava resolvi com a medida abaixo:
Hi, @thyagoguimaraes
You may click 'Edit Query', go to Query Editor, click 'Add Columns' ribbon and then 'Index column', 'Close and Apply'.
Then you may create a measure as below.
Result =
var _index = SELECTEDVALUE(Test[Index])
return
CALCULATE(
SUM(Test[PART% QTD VENDA]),
FILTER(
ALLSELECTED(Test),
Test[Index]<=_index
)
)
Result:
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Ola Muito Obrigado pela resposta.
Mas o que precisava resolvi com a medida abaixo:
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 |
---|---|
110 | |
94 | |
80 | |
66 | |
58 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |