Forum Discussion

ACC_Tom's avatar
ACC_Tom
New Member
9 years ago
Solved

Separately Conditional Filtering and Combining Data Sets on a Graph

Hi Guys, new user here.   What would be the best way to simultaneously separately filter and combine two datasets visually?   I have a table of invoiced amounts that I wish to filter post a speci...
  • v-sihou-msft's avatar
    v-sihou-msft
    9 years ago

    ACC_Tom

     

    In this scenario, to combine two datasets data together, you should aggregate the rows in your Dataset 1 first. Then build the relationship to Dataset 2. Then you can just create a calculated column combine 'Invoice Amount' and 'Value'.

     

    1. Create a table aggregating the rows in Dataset 1.

     

    Table = SUMMARIZE(Table3,Table3[Client],Table3[Date],"Amount",CALCULATE(SUM(Table3[Invoice Amount])))

    2. Build the relationship to Dataset 2.

    3. Create a calculated column like below:

    Total Value = 'Table'[Amount]+RELATED(Table4[Value])

     

    Regards,