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 All,
I have Sales table and would like to add Category colulmn by using New Column in modeling function.
If Products are Apple or Orange or Banana, I would like to add Fruits in category.
Can you help to write fomular?
All the best,
Paris
Solved! Go to Solution.
Try this calculated Column
Category = IF(([Products]="Apple" || [Products]="Orange" || [Products]="Banana"),"Fruits","")
Let me know if it helps!
Try this calculated Column
Category = IF(([Products]="Apple" || [Products]="Orange" || [Products]="Banana"),"Fruits","")
Let me know if it helps!
Thank you very much for your help!
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 |
---|---|
109 | |
98 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
111 | |
92 | |
84 | |
66 |