Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi- Can someone please help me what wrong I'm doing with the formula to get the error?
=if [Net sales growth] < 1% then "0% or below" else if [Net sales growth] >= 1% then "1% - 25%" else if [Net sales growth] >= 26% then "26% - 50%" else if [Net sales growth] >= 51% then "51% - 100%" else if [Net sales growth] >= 101% then "101% - 200%" else if [Net sales growth] >= 201% then "201% - 300%" else if [Net sales growth] >= 301% then "301% - 500%" else if [Net sales growth] >= 501% then "501% - 700%" else if [Net sales growth] >= 701% then "701% - 1000%" else if [Net sales growth] > 1000% then "Over 1000%" else "N/A"
Solved! Go to Solution.
Hi @sks2701
It must be the % character. You can't use it like that. Instead of 1% use the number: 1/100 or 0.01. Same for all other % instances in the code
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
Hi @sks2701
Make sure to replace all % values where you are representing a number e.g.
if [Net sales growth] < 0.01
else if [Net sales growth] >= 0.26
etc.
Phil
If I answered your question please mark my post as the solution.
If my answer helped solve your problem, give it a kudos by clicking on the Thumbs Up.
Proud to be a Super User!
Hi @sks2701
Make sure to replace all % values where you are representing a number e.g.
if [Net sales growth] < 0.01
else if [Net sales growth] >= 0.26
etc.
Phil
If I answered your question please mark my post as the solution.
If my answer helped solve your problem, give it a kudos by clicking on the Thumbs Up.
Proud to be a Super User!
THANK YOU! It helped 🙂
Hi @sks2701
It must be the % character. You can't use it like that. Instead of 1% use the number: 1/100 or 0.01. Same for all other % instances in the code
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
thank you !
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 6 | |
| 6 | |
| 5 |