Forum Discussion

nickvb's avatar
nickvb
Frequent Visitor
5 years ago

Values Not Displaying in Matrix

I am trying to create a monthly balance sheet, but the matrix visual is not displaying values in some periods.

 

As you can see in the below snapshot the total for Non-Current Liabilities does not foot in the second period (periods are going across the top).  This is because 'Other long term liabilities' is included in the total, but no value is being displayed even though it is 923,363 in that period as well..

 

 

 

 

 

 

Any ideas why this might be?

 

Thanks in advance for any assistance.

 

Below is the measure used:

 

BS Current YTD =
IF (
HASONEVALUE ( 'GL Balance'[ACCOUNTING_YEAR_KEY] ),
CALCULATE (
[CY],
FILTER (
ALL( 'GL Balance'[ACCOUNTING_YEAR_KEY] ),
'GL Balance'[ACCOUNTING_YEAR_KEY] = VALUES ('GL Balance'[ACCOUNTING_YEAR_KEY] )),
FILTER (
ALL( Date_Table[IFS Period] ),
Date_Table[IFS Period] <= MAX (Date_Table[IFS Period] )
)
),
BLANK ()
) *-1

5 Replies

  • nickvb , This formula need one change. try that if that can work

     

    BS Current YTD =
    IF (
    HASONEVALUE ( 'GL Balance'[ACCOUNTING_YEAR_KEY] ),
    CALCULATE (
    [CY],
    FILTER (
    ALL( 'GL Balance'[ACCOUNTING_YEAR_KEY] ),
    'GL Balance'[ACCOUNTING_YEAR_KEY] in VALUES ('GL Balance'[ACCOUNTING_YEAR_KEY] )),
    FILTER (
    ALL( Date_Table[IFS Period] ),
    Date_Table[IFS Period] <= MAX (Date_Table[IFS Period] )
    )
    ),
    BLANK ()
    ) *-1

    • nickvb's avatar
      nickvb
      Frequent Visitor

      amitchandak thanks for the response.  I tried your formula, but unfortunately it is yielding the same result

      • nickvb's avatar
        nickvb
        Frequent Visitor

        One other nuance I noticed.  It appears as long as there is no change in the next period it is showing up blank. However, if the value changes in the next period then it will re-appear and display correctly.

         

  • v-robertq-msft's avatar
    v-robertq-msft
    Community Support

    Hi, nickvb 

    Have amitchandak’s reply helped you to solve this problem?

    If you still have a problem. I think it’s hard to find the true reason for this problem without some sample data. Would you like to post some sample data in table form or pbix file(without sensitive data) and your expected result(like the chart you want to get and the correct measure value based on your sample data)?

    Thanks very much!

    How to Get Your Question Answered Quickly 

     

    Best Regards,

    Community Support Team _Robert Qin

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