Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Power query to create Power BI table

https://www.dropbox.com/scl/fi/5im1lyjgzg2pa0bhhlcil/PBIPQ.xlsx?dl=0&rlkey=fnu7pyv3na3b7oa5nmo35seq9 

 

Sheet 1 contains source data set example (and also fetched into Power BI as a table

Sheet 2 show how I would like to have an additional table - filtered by some of the fields in the source table

 

I would appreciate if someone could provide me with a pbix file describing how this task could be accomplished

 

  • See the attached file. It returns this:

     

    Your data did not match your expected output. For example, C2 & C3 had no income values, and C1 had no expenses.

     

    excel file here.

     

    I would do the totals in DAX using the totals feature of a Matrix or Table.

6 Replies

  • edhans's avatar
    edhans
    Community Champion

    See the attached file. It returns this:

     

    Your data did not match your expected output. For example, C2 & C3 had no income values, and C1 had no expenses.

     

    excel file here.

     

    I would do the totals in DAX using the totals feature of a Matrix or Table.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thanks a lot - this will make it possible for me to get my data into a matrix, as you suggest 🙂

      • edhans's avatar
        edhans
        Community Champion

        Great Anonymous - glad I was able to help. Unpivoting and re-pivoting can be awesome transformation tools in Power Query. Have fun with the rest of your project!