The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi, I have been trying to find out the best way of parsing out the mfg lot from a group of serial numbers. Four consecutive numbers (Place values are 7-10, As shown below)
First two place are for the week and the second two the year. Can anyone show me how to accomplish this? A Dax calculation? Something? I am unable to use the serial number column inside the tabular model to execute this (=mid(Data[text],7,4)) calculated metric as only measures are available for use opposed to actual columns. Can someone provide with code or an alternative to create a calculated measure based off an actual column in a tabular model?
Solved! Go to Solution.
Are you trying in M Query, then it is easy,
Select the column you are trying to extract,
go to tab "add column", click extract dropdown, click range, enter 7 and 4.
Will this help you?
Are you trying in M Query, then it is easy,
Select the column you are trying to extract,
go to tab "add column", click extract dropdown, click range, enter 7 and 4.
Will this help you?
@sevenhills I have been attempting to do so but the fact that it is a tabular model, that live connection show for my visuals but does not show up as table when transforming the data.
User | Count |
---|---|
71 | |
65 | |
62 | |
50 | |
28 |
User | Count |
---|---|
117 | |
75 | |
62 | |
54 | |
43 |