Forum Discussion
DayRating issues
When I run the query in order to put a condition G or NG day according to the profit Margin, I get an issue which is that I receive only good (G) results. According to me, the issue is related to the fact the query does not understand > 0.65. Because when I try the IF condition with another column which is not a %, it works fine. Can Someone help me?
3 Replies
- amitchandakSuper User
Anonymous , based on you format condition should be [profit margin] > 0,65 ?
comma not decimal ?
If not
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
- v-zhenbw-msftCommunity Support
Hi Anonymous ,
What is the calculate logic of ProfitMargin column?
Maybe you can try this formula,
Column 2 = IF([Profit2]>=65/100,"NG","G")If it doesn’t meet your requirement, could you please provide a mockup sample based on fake data?
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.
- v-zhenbw-msftCommunity Support
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. If the above posts help, please kindly mark it as a solution to help others find it more quickly.
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.