Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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!
User | Count |
---|---|
73 | |
69 | |
36 | |
25 | |
22 |
User | Count |
---|---|
96 | |
94 | |
53 | |
45 | |
39 |