Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi All, I have a requirement to create a new column for the below-given table: Thank you in advance
order No | Cust Name | Y/N? | Revenue class | Amount | New column |
111 | ABC | Y | Apple | 100 | Flex |
112 | XYZ | N | Apple | 22 | Flex |
113 | ABC | N | Apple | 300 | Flex |
114 | XYZ | Y | Orange | 66 | Flex |
115 | DFG | N | Apple | 667 | NonFlex |
116 | DDF | Y | Orange | 567 | NonFlex |
112 | XYZ | N | Mango | 345 | Flex |
111 | ABC | Y | Mango | 349 | Flex |
New column = I want the results as flex or nonflex.
@ManjunathaEP , Create a new column like
If(calculate(distinctCOUNT([Y/N?]), filter(Table, [Cust Name] =earlier([Cust Name])))+0=2, "Flex"," NonFlex")
User | Count |
---|---|
25 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
27 | |
13 | |
11 | |
9 | |
6 |