Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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.
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
105 | |
99 | |
98 | |
38 | |
37 |
User | Count |
---|---|
154 | |
120 | |
73 | |
73 | |
63 |