cancel
Showing results for 
Search instead for 
Did you mean: 
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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors