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