The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I need assistance in creating a measure for a 1- 5 score card based on values calculated below:
Ave Defects Identified in HE = AVERAGE('Internal Audit Line Inspection'[% of defects detected at HE])
Score card =
IF (
[Ave Defects Identified in HE] >=90, 5,
IF ([Ave Defects Identified in HE] >=80 && IF ([Ave Defects Identified in HE] <=89, 4,
IF ([Ave Defects Identified in HE] >=70 && IF ([Ave Defects Identified in HE] <=79, 3,
IF ([Ave Defects Identified in HE] >=60 && IF ([Ave Defects Identified in HE] <=69, 2,
IF ([Ave Defects Identified in HE] <=60, 1,
)
I'm getting an error as below:
Too many arguments were passed to the IF function. The maximum argument count for the function is 3.
any suggestions as clearly I'm not doing something right.
Solved! Go to Solution.
HI @Anonymous ,
try below:
Score card = IF ( [Ave Defects Identified in HE] >=90, 5, IF ([Ave Defects Identified in HE] >=80 , 4, IF ([Ave Defects Identified in HE] >=70, 3, IF ([Ave Defects Identified in HE] >=60 ,2, 1 ))))
Regards,
Washivale
HI @Anonymous ,
try below:
Score card = IF ( [Ave Defects Identified in HE] >=90, 5, IF ([Ave Defects Identified in HE] >=80 , 4, IF ([Ave Defects Identified in HE] >=70, 3, IF ([Ave Defects Identified in HE] >=60 ,2, 1 ))))
Regards,
Washivale
thanks alot. you guys make this seem so simple.
glad that helped!!
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
81 | |
72 | |
49 | |
41 |
User | Count |
---|---|
139 | |
113 | |
74 | |
64 | |
63 |