Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago

MoM creates additional month with value -100%

Hi community,

Probably something that is easy but I am fairly new to PowerBI.
So I have a matrix Report and I have months as columns. Every time I use the quick measure for MoM calculation. The matrix generates additional month (in this case May) that is actually not part of my data. It displays -100%.
Is there any way of avoiding this? Or atleast a way to hide it?

2 Replies

  • Hi,

    Try it this way

    =if(isblank(distinctcount(your column)),blank(),[your measure])

    Hope this helps.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous,

    Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

    How to Get Your Question Answered Quickly  

    Regards,

    Xiaoxin Sheng