Forum Discussion

An's avatar
An
Regular Visitor
5 years ago
Solved

ISSUE :  Format fields in the matrix visual based on the blank values.

ISSUE :  Format fields in the matrix visual based on the blank values.
 
I want to format the fields of matrix visual to RED when, the current month's value is BLANK and previous month's value is NON-BLANK.  Is that possible with the visual matrix ?  Or is there another visual that can do this ?

  • See attached - this becomes much more complex as you cannot provide computed conditional formatting to something that isn't there,

8 Replies

  • It is possible with the matrix visual but you need to create measures for that .

     

    Please provide sanitized sample data in usable format (not as a picture - inserting it into a table would be good) and show the expected outcome.

    • An's avatar
      An
      Regular Visitor

      Hi,  

       

      I try again to post my message.   Yesterday it went wrong.

       

      This is the input table

       

      VendorLine itemPeriodAmount...
      MSFTL00521100 
      MSFTL00523100 
      PXSL00012100 
      TELL00083100 

       

      Expected outcome

       

       123TOTAL

      MSFT

      - L0052

      100

      100

      ☹️

      ☹️

      100

      100

      200

      200

      PXS

      - L0001

      ☹️

      ☹️

      100

      100

      ☹️

      ☹️

      100

      100

      TEL

      - L0008

      ☹️

      ☹️

       

      100

      100

      100

      100

       

      Instead of colouring my field in RED, I have added a smiley. 

       

      Kind regards

       

      An

      • lbendlin's avatar
        lbendlin
        Icon for Super User rankSuper User

        Here is a simplistic "solution".  For a proper solution you need measures.  When you say "month"  do you mean "period"  ?

         

  • An's avatar
    An
    Regular Visitor

    Hi, 

     

    This is the input table :

     

    VendorPeriodActual 2020Comment
    MSFT1100XXXX
    MSFT2200XXXX
    MSFT4300XXXX
    PXS2100XXXX
    PXS4100XXXX
    TEL3100XXXX

     

    Expected outcome :

     

     1234TOTAL
    MSFT100200

    300600
    PXS100100200
    TEL  100100

     

    I can't added a pbx.file to this message.   I hope this clarifies my question.

     

    Thanks for your help 

     

    An