Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello
I am getting error "Argument '3' in if function is required" in following measure
MissingCertificationengineerBrasil =
IF (
AND (Merge1[Items.Level-2]="Certification issued by Engineer",Merge1[Classifications.Country]="BRASIL" ),
1,
IF (
AND (Merge1[Items.Level-2]="Certification issued by Engineer",Merge1[Classifications.Country]="NAFTA"),
0,
if
(
AND (Merge1[Items.Level-2]="Certification issued by Engineer ",Merge1[Classifications.Country]="europe"),
0,
)
)
)
Solved! Go to Solution.
Delete the comma on your last 0.
Pat
Hello ppm1,
As you suggested, I removed the comman, see below code but it is now giving me another error, we just want to return 1 or 0 depending on condition. Am I missing anything?
"single value for column 'Items.Level-2' in table 'Merge1' cannot be determined. This can happen when a measure formula refers to a column that contains many values without specifying an aggregation such as min, max, count, or sum to get a single result."
IF (
AND (Merge1[Items.Level-2]="Certification issued by Engineer",Merge1[Classifications.Country]="BRASIL" ),
1,
IF (
AND (Merge1[Items.Level-2]="Certification issued by Engineer",Merge1[Classifications.Country]="NAFTA"),
0,
if
(
AND (Merge1[Items.Level-2]="Certification issued by Engineer ",Merge1[Classifications.Country]="europe"),
0
)
)
)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
78 | |
63 | |
52 | |
47 |
User | Count |
---|---|
212 | |
82 | |
61 | |
61 | |
60 |