Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Good Morning,
I have a column that comes over with location numbers. I need to find a way to transform this column to show if the value is greater than 1000 return "1000+ Stores" if value is less than 1000 return "1-999 Stores"
Thank you,
Solved! Go to Solution.
@AmberJane , You can achieve it using Switch function
Store Classification =
SWITCH (
TRUE (),
'YourTableName'[Location Number] > 1000, "1000+ Stores",
'YourTableName'[Location Number] <= 1000, "1-999 Stores"
)
Please accept as solution and give kudos if it helps
Proud to be a Super User! |
|
@AmberJane , You can achieve it using Switch function
Store Classification =
SWITCH (
TRUE (),
'YourTableName'[Location Number] > 1000, "1000+ Stores",
'YourTableName'[Location Number] <= 1000, "1-999 Stores"
)
Please accept as solution and give kudos if it helps
Proud to be a Super User! |
|
Very cool that did work but I missed something. If stores are 0 I need a third option of 0 locations impacted. How would I add that?
So need:
1000+ Stores
1-999 Stores
0 Stores
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
10 | |
10 | |
9 | |
8 |
User | Count |
---|---|
17 | |
13 | |
12 | |
11 | |
8 |