You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<value>Cannot use this record. It may contain colliding fields of incompatible types.</value>
1967
1971
<comment>Error Message.</comment>
@@ -2883,15 +2887,15 @@
2883
2887
<value>Language code of the supplied text.</value>
2884
2888
</data>
2885
2889
<dataname="AboutTable"xml:space="preserve">
2886
-
<value>Creates a table from the specified records, with as many columns as there are unique record fields. For example: Table({key1: val1, key2: val2, ...}, ...)</value>
2890
+
<value>Creates a table from the specified records and tables, with as many columns as there are unique record fields. For example: Table({key1: val1, key2: val2, ...}, ...)</value>
2887
2891
<comment>Description of 'Table' function.</comment>
2888
2892
</data>
2889
2893
<dataname="TableArg1"xml:space="preserve">
2890
-
<value>record</value>
2891
-
<comment>function_parameter - Argument of the Table function - a record that will become a row in the resulting table.</comment>
2894
+
<value>record/table</value>
2895
+
<comment>function_parameter - Argument of the Table function - a record/table that will be part of the the resulting table.</comment>
@@ -36,28 +38,56 @@ Errors: Error 0-63: The function 'Table' has some invalid arguments.|Error 28-62
36
38
>> Table([1, 2], If(1<0, Table({Value:{a:2}})))
37
39
Errors: Error 0-44: The function 'Table' has some invalid arguments.|Error 14-43: Incompatible type. The item you are trying to put into a table has a type that is not compatible with the table.
Copy file name to clipboardexpand all lines: src/tests/Microsoft.PowerFx.Core.Tests/IntellisenseTests/TestSignatures/16.json
+22-22
Original file line number
Diff line number
Diff line change
@@ -1,54 +1,54 @@
1
1
{
2
2
"Signatures": [
3
3
{
4
-
"Label": "Table(record, ...)",
5
-
"Documentation": "Creates a table from the specified records, with as many columns as there are unique record fields. For example: Table({key1: val1, key2: val2, ...}, ...)",
4
+
"Label": "Table(record/table, ...)",
5
+
"Documentation": "Creates a table from the specified records and tables, with as many columns as there are unique record fields. For example: Table({key1: val1, key2: val2, ...}, ...)",
6
6
"Parameters": [
7
7
{
8
-
"Label": "record",
9
-
"Documentation": "A record that will become a row in the resulting table."
8
+
"Label": "record/table",
9
+
"Documentation": "A record/table that will be part of the the resulting table."
10
10
}
11
11
]
12
12
},
13
13
{
14
-
"Label": "Table(record, record, ...)",
15
-
"Documentation": "Creates a table from the specified records, with as many columns as there are unique record fields. For example: Table({key1: val1, key2: val2, ...}, ...)",
"Documentation": "Creates a table from the specified records and tables, with as many columns as there are unique record fields. For example: Table({key1: val1, key2: val2, ...}, ...)",
16
16
"Parameters": [
17
17
{
18
-
"Label": "record",
19
-
"Documentation": "A record that will become a row in the resulting table."
18
+
"Label": "record/table",
19
+
"Documentation": "A record/table that will be part of the the resulting table."
20
20
},
21
21
{
22
-
"Label": "record",
23
-
"Documentation": "A record that will become a row in the resulting table."
22
+
"Label": "record/table",
23
+
"Documentation": "A record/table that will be part of the the resulting table."
24
24
}
25
25
]
26
26
},
27
27
{
28
-
"Label": "Table(record, record, record, ...)",
29
-
"Documentation": "Creates a table from the specified records, with as many columns as there are unique record fields. For example: Table({key1: val1, key2: val2, ...}, ...)",
"Documentation": "Creates a table from the specified records and tables, with as many columns as there are unique record fields. For example: Table({key1: val1, key2: val2, ...}, ...)",
30
30
"Parameters": [
31
31
{
32
-
"Label": "record",
33
-
"Documentation": "A record that will become a row in the resulting table."
32
+
"Label": "record/table",
33
+
"Documentation": "A record/table that will be part of the the resulting table."
34
34
},
35
35
{
36
-
"Label": "record",
37
-
"Documentation": "A record that will become a row in the resulting table."
36
+
"Label": "record/table",
37
+
"Documentation": "A record/table that will be part of the the resulting table."
38
38
},
39
39
{
40
-
"Label": "record",
41
-
"Documentation": "A record that will become a row in the resulting table."
40
+
"Label": "record/table",
41
+
"Documentation": "A record/table that will be part of the the resulting table."
42
42
}
43
43
]
44
44
},
45
45
{
46
-
"Label": "Table(record)",
47
-
"Documentation": "Creates a table from the specified records, with as many columns as there are unique record fields. For example: Table({key1: val1, key2: val2, ...}, ...)",
46
+
"Label": "Table(record/table)",
47
+
"Documentation": "Creates a table from the specified records and tables, with as many columns as there are unique record fields. For example: Table({key1: val1, key2: val2, ...}, ...)",
48
48
"Parameters": [
49
49
{
50
-
"Label": "record",
51
-
"Documentation": "A record that will become a row in the resulting table."
50
+
"Label": "record/table",
51
+
"Documentation": "A record/table that will be part of the the resulting table."
Copy file name to clipboardexpand all lines: src/tests/Microsoft.PowerFx.Core.Tests/IntellisenseTests/TestSignatures/17.json
+8-8
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,20 @@
1
1
{
2
2
"Signatures": [
3
3
{
4
-
"Label": "Table(record, record, record, ...)",
5
-
"Documentation": "Creates a table from the specified records, with as many columns as there are unique record fields. For example: Table({key1: val1, key2: val2, ...}, ...)",
"Documentation": "Creates a table from the specified records and tables, with as many columns as there are unique record fields. For example: Table({key1: val1, key2: val2, ...}, ...)",
6
6
"Parameters": [
7
7
{
8
-
"Label": "record",
9
-
"Documentation": "A record that will become a row in the resulting table."
8
+
"Label": "record/table",
9
+
"Documentation": "A record/table that will be part of the the resulting table."
10
10
},
11
11
{
12
-
"Label": "record",
13
-
"Documentation": "A record that will become a row in the resulting table."
12
+
"Label": "record/table",
13
+
"Documentation": "A record/table that will be part of the the resulting table."
14
14
},
15
15
{
16
-
"Label": "record",
17
-
"Documentation": "A record that will become a row in the resulting table."
16
+
"Label": "record/table",
17
+
"Documentation": "A record/table that will be part of the the resulting table."
0 commit comments