Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Matrix crashed after adding measure

Hey guys,    I have three tables (and I am a noob regarding relationships, maybe the reason is there) which I want to put together in a matrix.   I have the name of the customers and the single p...
  • parry2k's avatar
    6 years ago

    Anonymous -1 is the issue, it return the value for everything even if they have no value in the measure

     

    Entw.20 vs 19 = 
    VAR __s = sum('Sell-Out'[SAP Wholesale Amount (N)])/sum('Sell-Out'[SAP Wholesale Amount (N-1)])
    RETURN
    IF ( __s  <> BLANK(), __s - 1 ) 

     

    I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

    Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.