Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
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.
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.