Forum Discussion
Shamatix
8 years agoPost Partisan
Need help with a measure
Hello fellow users of Power Bi, Well ill try to describe one of my issues: =If(HASONEVALUE(Indfortoldning[Løbenummer]),AVERAGE(Indfortoldning[Moms grundlag]),SUMX(SUMMARIZE(Indfortoldning,Ind...
McCow
8 years agoResolver III
I modyfied Rest and New_Moms_grundlag columns from last example PBIX ^^^.
Pls try this:
Rest =
ISO.CEILING(CALCULATE(SUM(Indfortoldning[Moms grundlag]);ALLEXCEPT(Indfortoldning;Indfortoldning[Løbenummer])) -
[Moms grundlag] * CALCULATE(COUNTROWS('Indfortoldning');ALLEXCEPT('Indfortoldning';Indfortoldning[Løbenummer]));0,1)and
New_Moms_grundlag =
IF(
ABS([Rest]) < 1;
([Moms grundlag]);
BLANK()
)// if
Shamatix
8 years agoPost Partisan
Hey,
It's still wrong
I have uploaded most of my data set http://ge.tt/5wv6omn2 just dont apply the changes as I have removed my connection string
Also I know from Qlikview the "Moms Grundlag" should be around