Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

Creating table rows based on selected value

Hello there, can you advise how I can create rows in Table A based on filtered values from two different tables - they are Numerator and Denominator.

 

I created the below (which doesnt work) that is supposed to put Filtered Numerator in row 1, then Denominator in row 2.

 

 

Table A = {SELECTEDVALUE('Numerator'[Dataitem]),SELECTEDVALUE('Denominator'[Dataitem])}

 

 

8 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi amitchandak , Im looking at your article and it looks like they are combined as separate columns? I want mine to show as separate rows bu the same columns

      • amitchandak's avatar
        amitchandak
        Super User

        Anonymous , not very clear .

        Union (All(table[column1]),All(table[column2]))

        will create two rows for Column 1 and column 2

         

        Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hello Anonymous 
    Can you share your data in table format and your expected output?

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi Anonymous 

       

      Please see attached workbook. I want to plot whatever is selected in Numerator and Denominator box in one chart