Forum Discussion
How to use switch function properly
- 6 years ago
Hi Anonymous ,
How about the result after you follow the suggestions mentioned in my original post?
Could you please provide more details or expected result about it If it doesn't meet your requirement?If you've fixed the issue on your own please kindly share your solution.
Best regards,
Community Support Team _ zhenbw
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Anonymous ,
Sorry for that your file is not intuitive.
Do you want to add a calculate column to show "Flat", "Bell"..... based on some conditions?
Maybe you can try this formula,
Column =
SWITCH (
TRUE (),
[nationalbusinessline] <> BLANK ()
&& [projectduget] < 100000, "flat",
[nationalbusinessline] = "bulding"
&& [nationalbusinessline] <> BLANK ()
&& [projectduget] > 50000, "bell"
)
If it doesn't meet your requirement, could you please provide a mockup sample based on fake data or describe the fields of each tables and the relations between tables simply?
It will be helpful if you can show us the exact expected result based on the tables.
Please upload your files to OneDrive For Business and share the link here. Please don't contain any Confidential Information or Real data in your reply.
Best regards,
Community Support Team _ zhenbw
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.