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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
Martyn_Cole
Frequent Visitor

Show blanks at the top level of a Matrix, it keeps showing some values from lower down

Hi, 

 

I have a matrix, where I want to show blank values in the top level, I have applied HASONEVALUE as below but some cells are showing values not blank. Most seem to be where there is only 1 value lower down. 

The data only has a row if there is a planned loading on an activity, and does not have a row with a blank on it.

 

Planned Loading % =
IF(
    HASONEVALUE('FORWARD PLANNING'[Project ID & Title]),
    SUMX('FORWARD PLANNING',('FORWARD PLANNING'[PLANNED_HOURS])/('FORWARD PLANNING'[Working Hours Per Week Per Employee])),  -- Actual values for lowest level
    IF(
        HASONEVALUE('FORWARD PLANNING'[RESOURCE_DESCRIPTION]),
        SUMX('FORWARD PLANNING',('FORWARD PLANNING'[PLANNED_HOURS])/('FORWARD PLANNING'[Working Hours Per Week Per Employee])),  -- Summed values for middle level
        ""  -- blank for top level
    )
)
 
2024-06 etc. are weeks of the financial year. 

Martyn_Cole_0-1700222245314.png

Sample data

RESOURCE_DESCRIPTIONPLANNED_HOURSPROJECT_IDFY & WeekWORKING HOURS PER WEEK
100032511232024-147.5
100032521232024-147.5
100032559872024-147.5
10003250.051232024-147.5
10003250.059872024-147.5
10003250.059872024-147.5
10003250.059872024-147.5
100032569872024-147.5
10003250.059872024-147.5
10003250.059872024-147.5
10003250.059872024-147.5
100032589872024-147.5
100032551232024-147.5
100032551232024-147.5
100032551232024-147.5
100032589872024-147.5
10003250.051232024-147.5
10003250.051232024-147.5
10003250.051232024-147.5
10003250.051232024-147.5
10003250.059872024-147.5
100032591232024-147.5
3 REPLIES 3
lbendlin
Super User
Super User

Please show the expected outcome based on the sample data you provided.

I would like this please, blanks on all top level "resource group"

Martyn_Cole_0-1700494925272.png

 

lbendlin_0-1700514244446.png

lbendlin_1-1700514261841.png

 

 

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.