Este fórum está sendo desativado

Depois de 9 anos, este fórum será desativado. Mas calma.... estamos migrando para uma comunidade no DISCORD. Junte-se a nós.

ENTRAR PARA DISCORD

Assuntos relacionados a criação de medidas, fórmulas e funções DAX, relacionamentos etc
Por Diego008
#55328
Bom dia,

Estou desenvolvendo um relatório no POWER BI onde necessito criar uma medida que some com o registro anterior de cada linha e vá acumulando esse valor. Exemplo:

MARGEM VALOR MARGEM ACUMULADA
11.827,08 11.827,08
7.284,54 19.111,62 -> Este registro é a soma da coluna 'margem valor' anterior com a linha atual
(11.827,08 + 7.284,54)
6.922,40 26.034,02

Tentei utilizar o FILTER, mas não obtive sucesso. Não sei se seria algo semelhante, mas o que eu tentei foi isso:

MARGEM ACUMULADA = VAR MARGEM = SUMX(
FILTER(TABLE;
TABLE[MARGEM VALOR] - 1
);
TABLE[MARGEM VALOR]
)
RETURN MARGEM
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]

Estamos migrando para uma comunidade no Discord