The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi,
I'm trying to create a colum that will give me a RAG rating based on the planned and BAU figures. I have created a new column and done the following formula however it gives me the message above.
I have checked the data type of all columns and they are all decimal number so don't think it is that. Any help is much appreciated.
Josh
@Anonymous , Is this a measure column. Seem like a column. unless [PLANNED], [BAU] etc are measures
Looking at code I do not see the error. Better you use Switch True
Switch( True(),
//Condition , //result,
//Condition , //result,
//else
)
To find this error, you have check each condition separately
Hi, thanks for the reply, not entirely sure what you mean though.
I have tried the formula with one if and it works but as soon as I add a second if then it comes up with the error message.
These are all columns and it is a column that i created.
Thanks
User | Count |
---|---|
14 | |
11 | |
6 | |
6 | |
5 |
User | Count |
---|---|
28 | |
17 | |
12 | |
7 | |
5 |