Forum Discussion

Avicric's avatar
Avicric
Frequent Visitor
2 years ago
Solved

Count from multiple columns

  Hi All, I need help to create a measure which would provide the count of spareparts used I have two sheets Sparepart dataset and unique sparepart list My data set Case id, Status, Sparepa...
  • jpessoa8's avatar
    jpessoa8
    2 years ago

    Avicric 

     

    Adding the date columns to dataset following the Unpivot approach, the next step is to had a Date table and relate it to the existing tables via DateStart

     

    With that, you can drap a month column in a matrix with the spareparts and add the measure for counting:

     

     

    Here is the PowerBI version with this implementation: https://we.tl/t-dpKfsMa7sx

     

    Hope this answer solves your problem!


    If my reply provided you with a solution, please consider marking it as a solution ✔️ or giving it a kudo 👍
    Thanks!

    You can also check out my LinkedIn!

    Best regards,
    Jorge Pessoa