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 August 31st. Request your voucher.
I am using PowerQuery on a OData source pointing at MS Project Online.
One of the columns in my query is type "Record".
When I expand the column, I can choose the columns I want, but the result is the error as titled...
DataSource.Error: OData: Unsupported query option encountered: $expand
What am I doing wrong? How do I solve it?
if you right click on the column you would like to expand, and select unpivot then you will be able to expand it
Thanks @amitchandak,
I have seen those links already, but they are not helpful.
Maybe I should rephrase my question: How do I convert a column of data type records to a column of data type table. I'm not expecting a solution, since the problem is not actually inPowerQuery, but rather in the underlying data provider.
The PowerQuery function
= Table.ExpandRecordColumn(Filtered, "Time", {"TimeMonthOfTheYear"}, {"Time.TimeMonthOfTheYear"})
would theoretically do the trick, but since the data provider bombs out, it won't work. So now I'm wondering if I must have some sort of custom function approach to read each record and extract this one field that I want from the record.
User | Count |
---|---|
77 | |
75 | |
36 | |
31 | |
29 |
User | Count |
---|---|
94 | |
80 | |
55 | |
48 | |
48 |