Forum Discussion

alann_contreras's avatar
alann_contreras
New Member
5 years ago
Solved

How accommodate time measure in table or matrix

Hi guys, I hope you´re doing great!! I need your help for the next problem. I have this data table:             I would like to have a view for the table or “matrix” that I can s...
  • v-kkf-msft's avatar
    5 years ago

    Hi alann_contreras ,

     

    Try the following formula:

     

    measure = 
    DIVIDE(
        SUM(FCompras [Venta]), 
        CALCULATE( 
            SUM(FCompras [Venta]),
            ALL(DCalendario),
            SAMEPERIODLASTYEAR (DCalendario[Date])
        )
    ) - 1

     

     

    If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

    Best Regards,
    Winniz

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