Forum Discussion

HDD328's avatar
HDD328
Frequent Visitor
2 years ago

Measure displaying different values in matrix and card

Hello,

I have a matrix thats meant to display percentages broken down by their code. On the matrix I am displaying 83% when it should be around 4% as the card shows. I have the same measure in the card as the matrix and they're displaying different values. Has anyone seen this before?

 

 

3 Replies

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi,

        amitchandak , Thanks for your concern about the problem, and i want o offer some more infotmation for user to refer to.

        hello HDD328 , you can try to change your dayiff measure to the following.

         

        DayDiff =
        VAR _rangestart =
            MINX ( ALLSELECTED ( BNS_DT_Data ), [PRODDATE] )
        VAR _rangeend =
            MAXX ( ALLSELECTED ( BNS_DT_Data ), [PRODDATE] )
        RETURN
            DATEDIFF ( _rangestar, _rangeend, DAY ) + 1
        

         

        If the solution cannot help, can you provide some sample data and the output you want so that can provide more suggestion for you.

         

        Best Regards!

        Yolo Zhu

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