Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Measures with Slicer (Edit Interaction)

Hello everybody, I'm stuck trying to solve a question that seems simple, but it's been giving me a bit of work. Imagine that I have a table with: - Year - Month - Ticket number I created so...
  • v-kkf-msft's avatar
    4 years ago

    Hi Anonymous ,

     

    Please try these measure.

     

    Current Year Value = 
    CALCULATE (
        SUM ( 'Table'[Value] ),
        FILTER ( ALL ( 'Table' ), 'Table'[Date].[Year] = MAX ( 'Table'[Date].[Year] ) )
    )
    % Participation Month/Year = 
    DIVIDE ( SUM ( 'Table'[Value] ), [Current Year Value] )


    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.