Forum Discussion

swaroopkumarmg's avatar
4 years ago
Solved

Combine values from different table visual to a single table visual

Hello there. 

 

Problem: i have a single data set - data is in a single excel sheet, but I have to create different pivots from the same data set. 

once I have the pivots ready I need to take the values from those pivots and put them in a combined table. 

 

Example: 

Table1
DepartmentMale
A3
C6
E4

 

Table 2
DepartmentFemale
B5
D4
E6

 

Combined Table
DepartmentMaleFemale
A3 
B 5
C6 
D 4
E46

 

here, Table 1 and Table 2 are different pivots with different type of filtering and I have to copy past the values into a separate table to make it presentable. i have to do this every time this report is pulled. 

 

any way this can be setup in power BI without creating new tables, as I have more than 6 pivots that will be combined this way and I don't want to create new tables. rather I would want to create table/ matrix visual and then pull data from them, similar to the way it's done on excel. 

 

5 Replies

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

    swaroopkumarmg  once you have all the tables, you need to build a table with only Axis and then you can manipulate existsing measures to give tyou what yoyu need. Example attached

     

     

    • swaroopkumarmg's avatar
      swaroopkumarmg
      Icon for Helper II rankHelper II

      Hi Lucien,

       

      thanks for giving this a try.

       

      What I'm actually looking at is this.

       

      here Male & Female tables are matrix tables and the other one is a normal table visual. 

      in the actual report, I'm working on, I have 10+ pivots in my excel file, I do not want to create 10+ tables in Power BI. Rather retrieve data from only one data table (sheet1)

       

      is there a way for the Normal table to reference columns from both the Matrix tables? like how GETPIVOTDATA can be used in excel?  the reason is each of those pivots has a different kind of filtering.

  • v-luwang-msft's avatar
    v-luwang-msft
    Icon for Community Support rankCommunity Support

    Hi swaroopkumarmg ,

    Has your problem been solved, if so, please consider Accept a correct reply as the solution or share your own solution to help others find it.

    Best Regards
    Lucien