Hello,
I need to have measure that will display dynamic values according to specific rows.
I have created similar logic in custom data column using Earlier function. But while creaitng same code in Measure. I get error messages
""
Here [AnaHesap] is the Row Colunm, when the row is about the data tbl_FinansButceKarsilastirma[Ana Hesap]="TOPLAM %" then
the data clolum in row tbl_FinansButceKarsilastirma[Ana Hesap]="NET" is used
This custom data colum generate usage with EARLIER is not supported I think.
Column=
if (
tbl_FinansButceKarsilastirma[Ana Hesap]="TOPLAM %",
SUMX(FILTER('tbl_FinansButceKarsilastirma', tbl_FinansButceKarsilastirma[Ana Hesap]="TOPLAM NET"
&& tbl_FinansButceKarsilastirma[SUBEADI]=EARLIER(tbl_FinansButceKarsilastirma[SUBEADI])
), 'tbl_FinansButceKarsilastirma'[DÖNEM MİKTARI] )
,tbl_FinansButceKarsilastirma[DÖNEM MİKTARI])
the aim is to calculate the Percentage value using the data in seperate two rows and display this percentage value in "Data %" column
OranHesapKolon = if (tbl_FinansButceKarsilastirma[Ana Hesap]="TOPLAM %",
SUMX(FILTER('tbl_FinansButceKarsilastirma', tbl_FinansButceKarsilastirma[Ana Hesap]="TOPLAM NET" && tbl_FinansButceKarsilastirma[SUBEADI]=EARLIER(tbl_FinansButceKarsilastirma[SUBEADI]) && tbl_FinansButceKarsilastirma[BUTCE_AY]=EARLIER(tbl_FinansButceKarsilastirma[BUTCE_AY])) , 'tbl_FinansButceKarsilastirma'[DÖNEM MİKTARI]
) / SUMX(FILTER('tbl_FinansButceKarsilastirma', tbl_FinansButceKarsilastirma[Ana Hesap]="TOPLAM GELİR" && tbl_FinansButceKarsilastirma[SUBEADI]=EARLIER(tbl_FinansButceKarsilastirma[SUBEADI]) && tbl_FinansButceKarsilastirma[BUTCE_AY]=EARLIER(tbl_FinansButceKarsilastirma[BUTCE_AY])) , 'tbl_FinansButceKarsilastirma'[DÖNEM MİKTARI]
) *100 ,tbl_FinansButceKarsilastirma[DÖNEM MİKTARI])