Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I am trying to create new column based on a previous one based with the condition if less then 10 = 1 ; if between 10 and 49 = 2 ; and if great then 50 = 3.
The desired output would be:
Item | Total | NewVariable |
Product A | 1 | 1 |
Product B | 24 | 2 |
Product C | 48 | 2 |
Product D | 56 | 3 |
The code I am using is:
Solved! Go to Solution.
Hi Giovani ,
Try this code.
Hi Giovani ,
Try this code.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
94 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |