Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Would appreciate it if someone could correct my error in the following DAX script:
Solved! Go to Solution.
Hi @pmcinnis
try
res ct finished =
CALCULATE(
COUNTROWS('Data'),
FILTER(
ALLEXCEPT('Data','Data'[Parameter]),[Sample Type]="TREATED WATER" || [Sample Type]="DISTRIBUTION"))
or
res ct finished =
CALCULATE(
COUNTROWS('Data'),
FILTER(
ALLEXCEPT('Data','Data'[Parameter]),OR([Sample Type]="TREATED WATER", [Sample Type]="DISTRIBUTION")))
or
res ct finished =
CALCULATE(
COUNTROWS('Data'),
FILTER(
ALLEXCEPT('Data','Data'[Parameter]),[Sample Type] IN {"TREATED WATER", "DISTRIBUTION"}))
Hi @pmcinnis
try
res ct finished =
CALCULATE(
COUNTROWS('Data'),
FILTER(
ALLEXCEPT('Data','Data'[Parameter]),[Sample Type]="TREATED WATER" || [Sample Type]="DISTRIBUTION"))
or
res ct finished =
CALCULATE(
COUNTROWS('Data'),
FILTER(
ALLEXCEPT('Data','Data'[Parameter]),OR([Sample Type]="TREATED WATER", [Sample Type]="DISTRIBUTION")))
or
res ct finished =
CALCULATE(
COUNTROWS('Data'),
FILTER(
ALLEXCEPT('Data','Data'[Parameter]),[Sample Type] IN {"TREATED WATER", "DISTRIBUTION"}))
Thanks!