Forum Discussion

khaledSA's avatar
khaledSA
Frequent Visitor
6 years ago
Solved

Create a subset table from a fact table

I need to creat a sub set table with all the columns in the main table but filtered with value "A" in the Code column. I need all related rows in the coulmns to be able to add additional calculated columns in the filtered sub set table. I appreciate your help.

DateCodeIndVal
1/1/2020ANM20
1/6/2020BBL40
1/20/2020ANM60
2/15/2020ACX80
1/5/2020CDG30

 New table:

DateCodeIndVal
1/1/2020ANM20
1/20/2020ANM60
2/15/2020ACX80
  • khaledSA ,

     

    Can you an example of it ?

    Maybe your column needs to be cleaned. Have you tried TRIM/CLEAN it on Query Editor ?

4 Replies

    • khaledSA's avatar
      khaledSA
      Frequent Visitor

      Hi Recardo,

      I have tried that befroe but I get empty columns.

      • camargos88's avatar
        camargos88
        Icon for Community Champion rankCommunity Champion

        khaledSA ,

         

        Can you an example of it ?

        Maybe your column needs to be cleaned. Have you tried TRIM/CLEAN it on Query Editor ?