Forum Discussion

Alonlon's avatar
Alonlon
Regular Visitor
5 years ago
Solved

How to selectively multiply tables

I have two tables : 

FIrst with total tons per year per category 

the Second one is

Goals per year per category in %. 

 

How do i create a messure or a third table with the multiplication of the appropriate aggregate per year in the first table with the corresponising % goals in the second one to get the Goals per year per category in Tons? 

 

below is a a matrix representation of the 2 tables (the first one is already summing the appropriate aggregates)  

 

 

  • Anonymous's avatar
    Anonymous
    5 years ago

    HI Alonlon,

    So you mean to summarize two visualizations to one? If these visuals are used the same data table field as category, you can create a measure to multiply these value fields. 

    For the total level calculations, you may need to add some conditions and filters to handle multiple aggregate calculations. Please check the following blog to know more about these:

    Measure Totals, The Final Word 

    Regards,

    Xiaoxin Sheng

2 Replies

  • Alonlon,

     

    If the first matrix is showing [Measure1] and the second matrix is showing [Measure2], then you should be able to create Measure3:

     

    Measure3 = [Measure1] * [Measure2]
  • Anonymous's avatar
    Anonymous
    Not applicable

    HI Alonlon,

    So you mean to summarize two visualizations to one? If these visuals are used the same data table field as category, you can create a measure to multiply these value fields. 

    For the total level calculations, you may need to add some conditions and filters to handle multiple aggregate calculations. Please check the following blog to know more about these:

    Measure Totals, The Final Word 

    Regards,

    Xiaoxin Sheng