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.
Hello,
I have a List column (customField), where each row/list contains 8-12 records. Each records holds three fields (fieldCode, key, value) and I want to create those 8-12 records as new columns on my table using the record "key" as column header and "value" as the field/row entry. I tried doing this via a custom column, naming the column header manually after the record "key" value and using the following function to grab the value: Record.Field([customField]{2} ,"value")
However, I realized the records are not always in the same order, so by specifically naming the column "HireType" for example, and using the function to grab the 2nd record "{2}" - the value I was getting was not always the hiretype value I was expecting. In general, I want to expand this customFields list/records horizontally into columns as opposed to vertically into rows.. Thank you!
How to get good help fast. Help us help you.
How To Ask A Technical Question If you Really Want An Answer
How to Get Your Question Answered Quickly - Give us a good and concise explanation
How to provide sample data in the Power BI Forum - Provide data in a table format per the link, or share an Excel/CSV file via OneDrive, Dropbox, etc.. Provide expected output using a screenshot of Excel or other image. Do not provide a screenshot of the source data. I cannot paste an image into Power BI tables.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI Reporting