Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Can not replace Table with in column--- need help for project

  i connceted to sharepoint list, tried to import along with data versions( share point version history ) so that i can see past modified data. 
when I import and kept expanding properties and required fields i came across this { " Table " } neither i can expand this nor I can replace it with something else. this is giving my count wrong.. 
for now I used calculate(count (column-name)), filter() ) -1 --- subtracted  1 to make count look fine but its not solution, i want to remove or replace that Table .....

 

  • Anonymous's avatar
    Anonymous
    4 years ago

    above solution reducing the record count, 
    I got soulution using  = Table.AddColumn(#"Removed Other Columns", "GetValue2",each if Value.Is([V.properties.field_x005f_18], type table) then null else [V.properties.field_x005f_18])  

    = Table.AddColumn(#"source/before step, "column-name",each if Value.Is([V.properties.field_x005f_18], type table) then null else [V.properties.field_x005f_18])

3 Replies

  • v-kkf-msft's avatar
    v-kkf-msft
    Icon for Community Support rankCommunity Support

    Hi Anonymous ,

     

    When your column contains data of both table type and other types (example Text/Number), there will be no extended table button in the column. 

     

     

    You can use the following code to remove rows of the table type.

     

    = Table.SelectRows(#"Filtered Rows", each not Value.Is(Value.FromText([Value]), type table))

     

    If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
    Best Regards,
    Winniz
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

    • Anonymous's avatar
      Anonymous
      Not applicable

      above solution reducing the record count, 
      I got soulution using  = Table.AddColumn(#"Removed Other Columns", "GetValue2",each if Value.Is([V.properties.field_x005f_18], type table) then null else [V.properties.field_x005f_18])  

      = Table.AddColumn(#"source/before step, "column-name",each if Value.Is([V.properties.field_x005f_18], type table) then null else [V.properties.field_x005f_18])

  • jaipal's avatar
    jaipal
    Icon for Resolver III rankResolver III

    Anonymous Click on the Button 

     Text Filters --> Does Not Equal...

     

     

    play with it.