Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
binayjethwa
Helper IV
Helper IV

Keep existing spaces for column values for table visual

Hi ,

 

I have created a column for fields for which some have same values , so to differentiate i have added spaced towards end of value so i can get all the values in the table separately, and i have done this from SQL.

 sample as below :

"Be among top 3 employers in KSA","Be among top 3 employers in KSA",
"Be among top 3 employers in KSA","Be among top 3 employers in KSA ",
Now i place these values in Table visual and i am looking to have both of then in different rows , but power bi table visual is removing those spaces and giving me single value. 
 
Is there any way we can achieve this in table visual , to return all column values of same name which are differentiated with space as below.
 
binayjethwa_0-1681220144425.png

 

 
 
 
Thanks,
Binay
1 ACCEPTED SOLUTION
v-rzhou-msft
Community Support
Community Support

Hi @binayjethwa ,

 

As far as I know, if the space is at the end of your value, Power BI will ignore the space when you add the column into visuals. Also, Power BI will summarize the same data into one row.

For example, Power BI will think "Be among top 3 employers in KSA " the same as "Be among top 3 employers in KSA", and summarize them.

vrzhoumsft_0-1681372829533.png

If you want to expand the same values , I suggest you to add an Index column in Power Query Editor. And then add it into table visual as Don't summarize. 

vrzhoumsft_1-1681372914053.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-rzhou-msft
Community Support
Community Support

Hi @binayjethwa ,

 

As far as I know, if the space is at the end of your value, Power BI will ignore the space when you add the column into visuals. Also, Power BI will summarize the same data into one row.

For example, Power BI will think "Be among top 3 employers in KSA " the same as "Be among top 3 employers in KSA", and summarize them.

vrzhoumsft_0-1681372829533.png

If you want to expand the same values , I suggest you to add an Index column in Power Query Editor. And then add it into table visual as Don't summarize. 

vrzhoumsft_1-1681372914053.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.