Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Solved! Go to Solution.
@Anonymous - Try:
EP1 =
IF(
AND(
SUM('Data'[Number of Units])=1,
MAX('Data'[Type of Find])="Packaging"
)
,1,0
)
or
EP1 =
IF(
SUM('Data'[Number of Units])=1 &&
MAX('Data'[Type of Find])="Packaging"
,1,0
)
@Anonymous Seems like this should be:
EP1 =
IF(
AND(
SUM('Data'[Number of Units]=1),
MAX('Data'[Type of Find])="Packaging"
)
,1,0
)
or
EP1 =
IF(
SUM('Data'[Number of Units]=1) &&
MAX('Data'[Type of Find]="Packaging")
,1,0
)
Thanks for reply, unfortunatley the error: The SUM function only accepts a column reference as an argument. has come up with both options.
'Data'[Number of Units] is a numeric field,
'Data'[Type of Find]="Packaging" is a text field.
@Anonymous - Try:
EP1 =
IF(
AND(
SUM('Data'[Number of Units])=1,
MAX('Data'[Type of Find])="Packaging"
)
,1,0
)
or
EP1 =
IF(
SUM('Data'[Number of Units])=1 &&
MAX('Data'[Type of Find])="Packaging"
,1,0
)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
97 | |
78 | |
64 | |
55 |
User | Count |
---|---|
143 | |
109 | |
89 | |
84 | |
66 |