Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago

Load data in table created from a list

Hello everyone,
Let's say I have a date table with a flag column that says if each year has to be considered for a specific analysis or not. 


From that point, what I want to do is take all the distinct values of year with the flag on, and create a new table on which I will load data from the cube.

My problem is that I don't know how to take only the distinct years matching the flag. And I don't know how to add data to the list created, even when I turn the list into a new Table.

Is there any way to do that ? 

10 Replies

  • Mikelytics's avatar
    Mikelytics
    Resident Rockstar

    Hi Anonymous 

    Can you please provide sample data?

    Best regards

    Michael

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi Micheal, 
      Yes sorry, it's better with an example.

      Below is my date table with a time Period of the Analysis flag column that says wether or not the related year has to be considered for my next step. 

       

      The next step is, I want to create a new table with a Year column containing the distinct years matching my flag.

      For now I create it with a list :

      Sorry for the French. It is the last option, something like Add as a new request

       

      Then I have a list containing all the years. I have to filter it, then chnage type. But no way to add data to that table. The cube in the top left corner is not there..

       

      I hope my question is clearer now 🙂

       

       

       

       

      • ronrsnfld's avatar
        ronrsnfld
        Super User

        Can you just filter your original table based on the flag?  Or, without even using a flag, filter based on the desired year?

  • Anonymous's avatar
    Anonymous
    Not applicable

    Yes, I can do that. But then, I am not able to load more data.
    I don't know how to have access to my cube from that point