Forum Discussion
Need help with a measure
Hi Shamatix
I'm not 100% sure if i rght undestand your request, but my answer is so:
MomsGrundlag 2 = IF(CALCULATE(COUNTROWS('Indfortoldning');ALLEXCEPT('Indfortoldning';Indfortoldning[Løbenummer]))<2;AVERAGE(Indfortoldning[Moms grundlag]);BLANK())It's work like this, as you write (or I as understand :)
Best regs
- Shamatix8 years agoPost Partisan
McCow wrote:Hi Shamatix
I'm not 100% sure if i rght undestand your request, but my answer is so:
MomsGrundlag 2 = IF(CALCULATE(COUNTROWS('Indfortoldning');ALLEXCEPT('Indfortoldning';Indfortoldning[Løbenummer]))<2;AVERAGE(Indfortoldning[Moms grundlag]);BLANK())It's work like this, as you write (or I as understand :)
Best regs
Ill try it out, thanks a lot :)
- Shamatix8 years agoPost Partisan
I found a mistake you make ALL "Moms grundlag" blank if there is mulitple lines, I only want it blank if there is multiple lines and some of em has different momsgrundlag values so they are different from eachother, I hope that makes sense.
For example the above scenario can happen, and then I want it to be correct since ALL "Momsgrundlag" is the same number
Any way to get the total at the bottom as well?
- McCow8 years agoResolver III
A simplest way without complicate calculation is separate measure + Card visualisation. Totals in the table must be OFF.