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.
I want to be able to create a column that would look at the column [Scrap Reason] and assign a value based on the expression(s) in the [Scrap Reason] column.
I've tried the SWITCH function
but I get the error
I don't think the VALUE or FORMAT functions are going to help me with this, is there some other way to achieve what I am looking for?
@ProcessENG You need SWITCH( TRUE(), ... ) Just add TRUE() as your first parameter and then you should be good.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
28 | |
12 | |
10 | |
10 | |
6 |