Forum Discussion

binayjethwa's avatar
binayjethwa
Icon for Helper V rankHelper V
3 years ago
Solved

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.
 

 

 
 
 
Thanks,
Binay
  • Anonymous's avatar
    Anonymous
    3 years ago

    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.

    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. 

     

    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.

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    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.

    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. 

     

    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.