March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I have a data source with varying amounts of leading spaces in a text field. it is attached as Figure 1.
Figure 1
You can see that mamy of the values have leading spaces in this Access database table.
When I use this table as a source for a Power BI Desktop table, the display in Query Editor shows what is in Figure 2.
Figure 2
Note the values appear to have been Trimmed. However, if I open the Filter dialog on this column, I see the following in Figure 3.
Figure 3
The values, again, appear nice and even without leading spaces. However, given the case-sensitive nature of M (and therefore Power Query), there are multiple instances of each Teacher. Each variant in terms of leading spaces is treated as a separate value. Since I created the leading spaces in the Access table on purpose, I know exactly what is happening. However, as a regular user just pulling data from a data source, this would be a VERY confusing scenario is there is no indication in the tool as to why there are multiple instances of each Teacher.
I would VERY MUCH prefer to have the Query Editor properly show the leading spaces if they are there. This would provide an indication to the use that they shoudl take some action if this is not what they want in their resulting table. Having both the editor as well as the filter dialog show the spaces would be my preference.
Has there been any update on this. I have a similar problem but want to view trailing spaces, so when we export the data to csv the trailing white spaces are there.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
129 | |
90 | |
75 | |
58 | |
53 |
User | Count |
---|---|
200 | |
104 | |
101 | |
67 | |
55 |