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 @Strongbuck
Did you fix your problem ? If it has been solved, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Community Support Team _ Ailsa Tao
Max_WO_Data =VAR _a=IF(FIND("22-",'Work_Orders'[title],,0)>0,1,0) RETURN IF(_a,"22-","")&MID('Work_Orders'[title],MAXX({"W.O. ","W.O. #"},FIND([Value],'Work_Orders'[title],,0))+1,6+_a*3)
just for the sample data
I ran what you wrote and the data wasn't parsed properly which is my original problem. What I am going to try next is to generate 1 or 2 depending on what the title contains 1 = 22- and 2 = W.O.
What I am seeing when I add this column is that the data is being separated properly. Now, I just need to alter the code to query the table with 1 or 2 and base the length logic on that. Wish me luck!
Thanks! I'll see if it parses the data like I need it to.
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
12 | |
11 | |
7 | |
6 |