Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello everyone,
I have to concatenante a column, filled with ids, into a list, in order to use it as a parameter for antoher request.
When I concatenate, transpose and change my column to a list, I have then one unique cell that looks like this : "2453,1263,1910,540,477,538,121,1781,125,539,541,120,118,1972,1040,1646,1225,124,1261,1041,2574,3837,3923,4306,6146,7261,7327,7299,7311,7948,8087,4189,6428,8159,1168,1858,2784,3594,3595,1264,1265,138,4183,1538,491,542,1042,134,140,137,1911,8280,2067,2517,8119,8479,4371,4987,5361,4190,4786,4819,4834,4741,9513,1268,1937,4172,1269,1043,1226,147,1912,148,1044,1722,2201,2089,2557,2953,3838,4742,2452,6710,8099,2522,2523,153,543,544,154,155,2579,6727,7343,2119,2338,4487,1045,546,156,9571,4231,4542,6795,7824,2366,8473,8656,3071,1170,1271,1800,547,1801,4616,162,1046,167,165,166,1782,1047,158,1901,2158,2926,7248,3839,4048,4743,4465,4959,5006,5355,8133,3183,6839,8065,4035,6865,8650,4694,3149,3057,3068,3150,170,549,548,551,550,169,168,1753,9536,2204,2068,2981,2685,3179,4193,4369,4970,6871,8088,4136,1049,2899,6684,7192,3840,4955,6870,7278,3100,4154,4707,185,184,552,186,2183,2883,2331,3776,6744,1275,2055,2788,2787,1273,3596,192,1651,190,1824,2273,3841,3280,7252,7263,7992,6747,9520,2700,3597,4155,1277,198,1993,1708,1887,5..."
The problem is the length limitation, you can see at the end that the last ID is truncated with "...".
This doesn't allow me to get the whole list of IDs and thus make my final request to my SQL Database.
How can I overcome this limitation in order to get all the IDs ?
Hi, @davidvincentret
There is no length limitation for list in official document. There is a limitation for integer numbers. The value in the list can't exceed the max value of integer. I wonder the list you are using is from the data source or generated by some transformations.
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@davidvincentret , you can split the column into rows in data transformation
https://www.tutorialgateway.org/how-to-split-columns-in-power-bi/
Hello,
Thanks for your answer, the thing is that I need all the values concatenated into one unique query parameter, since I want to make only ONE SQL request with all the IDs in it
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |