Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Create View from existing table

Hi,

 

I´m new to Power Bi and i need some help, so I hope you can help me. 
I have a table which looks like that:

Juni Juli Aug Sept Okt Nov Dez

xxxxxxx
x111100
10,5110,511

 

And I want to create a view where i have to amount of 0,1,x and 0,5 summarized for each month

 x10,50
Juni22031
Juli22031
Aug22031
Sept22031
Okt22031
Nov22031
Dezember22033






How can I achieve that? 
Thank you and best regards,

Christian

  • Anonymous - So if that is your source table, generally you would want to unpivot those columns in Power Query. Then things should be pretty easy.

  • Hi Anonymous ,

    1. Select all of your column and use Unpivot columns in power query editor, close and apply it.

    2. Put the new fields in a matrix visual, set the value field as count of values to get the expected result:

     

    Best Regards,
    Yingjie Li

    If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

3 Replies

  • Greg_Deckler's avatar
    Greg_Deckler
    Community Champion

    Anonymous - So if that is your source table, generally you would want to unpivot those columns in Power Query. Then things should be pretty easy.

  • v-yingjl's avatar
    v-yingjl
    Community Support

    Hi Anonymous ,

    1. Select all of your column and use Unpivot columns in power query editor, close and apply it.

    2. Put the new fields in a matrix visual, set the value field as count of values to get the expected result:

     

    Best Regards,
    Yingjie Li

    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

      Thank you, I´m gonna try it! 🙂