Forum Discussion

mrbajana's avatar
mrbajana
Helper III
4 years ago
Solved

Mesure Group in One Row

It is possible to create a measure for a matrix that shows me for a single selected product and for several periods an evolution based on the last group but that keeps the history of the selected per...
  • v-zhangti's avatar
    4 years ago

    Hi, mrbajana 

     

    You can try the following methods.

    Measure:

    Cluster new = 
    CALCULATE(MAX('Table'[Cluster]),FILTER(ALL('Table'),[Periodo]=SELECTEDVALUE('Table'[Periodo])))
    Value new = 
    CALCULATE(SUM('Table'[Value]),FILTER(ALL('Table'),[Periodo]=SELECTEDVALUE('Table'[Periodo])&&[Cluster]=[Cluster new]))

    Does this match the output you expect?

     

    Best Regards,

    Community Support Team _Charlotte

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