March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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 |
---|---|
120 | |
78 | |
58 | |
52 | |
46 |
User | Count |
---|---|
170 | |
117 | |
63 | |
58 | |
51 |