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've been working with conditional column where I needed to put some values (please refer to the screen); is there any way I can set the value with range ie. 1-6 rather than 1,2,3,4,5,6?
Thanks,
K3
Solved! Go to Solution.
Hi @k3rz0rg,
You can add a custom column referring to below M code:
=if [Attribute] >= 1 and [Attribute] <= 6 then "Value1" else if [Attribute] > 6 and [Attribute] <= 10 then "Value2" else "Value3"
Best regards,
Yuliana Gu
Hi @k3rz0rg,
You can add a custom column referring to below M code:
=if [Attribute] >= 1 and [Attribute] <= 6 then "Value1" else if [Attribute] > 6 and [Attribute] <= 10 then "Value2" else "Value3"
Best regards,
Yuliana Gu
Thank you for the input, let me try that! I have a feeling that this might work in my case as well.
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 | |
96 | |
77 | |
66 | |
53 |
User | Count |
---|---|
144 | |
105 | |
102 | |
89 | |
63 |