Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi there:
I am new to PBI and know that there must be a way that I can reduce the repetitiveness of my code when creating a custom conditional column. Currently I am re-writing the same code structure to indicate if any single individual category equals 1 and the other values are 0, then the result is "1 Category", and repeating these combinations all the way up to "4+ Categories" and the result should be mutually exclusive. Example below. I would LOVE a simpler way to do this if possible and I have been overthinking this to my detriment, thanks!
Hi @PerpetualGrad ,
see if my pbi file can help you.
https://1drv.ms/u/s!Aj45jbu0mDVJi2da_Op1RvvBu_Ky?e=VMXD5N
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
117 | |
74 | |
59 | |
51 | |
48 |
User | Count |
---|---|
171 | |
118 | |
60 | |
59 | |
54 |