Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

How to use the Sumif function in powerBI

Hi,

i have 3 table , Master, 2324, 2425,

i am tryinng to get the values from  2324 & 2425 based on master Company id , but there will mutiple values in both table

when i am trying Lookup not helping, Can any one help me 

 

  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi  Anonymous ,

     

    According to your description, here are my steps you can follow as a solution.

    (1) This is my test data. 

    (2) We can create a model relationship.

    We can create a measure.

    Measure = SUM('2324'[value])+SUM('2425'[value])

    (3) Then the result is as follows.

     

    If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.

     

    Best Regards,

    Neeko Tang

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

2 Replies

  • Hi,

    Share some data to work with, explain the question and show the expected result.  Share data in a format that can be pasted in an MS Excel file.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi  Anonymous ,

     

    According to your description, here are my steps you can follow as a solution.

    (1) This is my test data. 

    (2) We can create a model relationship.

    We can create a measure.

    Measure = SUM('2324'[value])+SUM('2425'[value])

    (3) Then the result is as follows.

     

    If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.

     

    Best Regards,

    Neeko Tang

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