Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi
Just to reduce the number of steps, can I change the data type for column "Since" to date at this step by the following code:
Originally it is a date but changed when grouped.
Table.ExpandTableColumn(#"Added Custom1", "Index", {"OPEN_AREA", "Block", {"Since", type Date}, "Max"})
The above returns error for me!
The code above returns an error because Table.ExpandTableColumn doesn't support setting data types in this way: the third parameter takes a list of column names, not a list of column names and data types.
I blogged about another way to solve this problem here: https://blog.crossjoin.co.uk/2017/09/25/setting-data-types-on-nested-tables-in-m/
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 6 | |
| 4 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 8 | |
| 7 | |
| 7 |