Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
nickvb
Frequent Visitor

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..

 

Matrix.jpg

 

 

 

 

 

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 5
v-robertq-msft
Community Support
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.

amitchandak
Super User
Super User

@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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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

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.

 

matrix2.PNG

@nickvb , Also check the role of HASONEVALUE, is working as expected. Remove that if part and try

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors