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! Learn more

Reply
StuartSmith
Power Participant
Power Participant

Show % of cells with data per table row.

I have a table visual with multiple colums containg "Text", "Numerical" data, etc. and would like to show a coulmn that shows a % data bar of cells that contain data.  How can this be done? Thanks in advance.

 

NameCountryCityAgeCompleted
Sid SnotUKLondon45100%
John Doe New York 50%
Jane DoeSpainMadrid 75%
Micky Mouse   25%
Buck RodgersUSWashington22100%
1 ACCEPTED SOLUTION

Hi @StuartSmith ,

 

You can try this method:

Add a index column, and add these columns:

isnotblankA =
IF (
    CALCULATE (
        MAX ( 'Table'[Age] ),
        FILTER ( 'Table', 'Table'[Index] = EARLIER ( 'Table'[Index] ) )
    )
        = BLANK (),
    0,
    1
)
isnotblankCity =
IF (
    CALCULATE (
        MAX ( 'Table'[City] ),
        FILTER ( 'Table', 'Table'[Index] = EARLIER ( 'Table'[Index] ) )
    )
        = BLANK (),
    0,
    1
)
isnotblankCoun =
IF (
    CALCULATE (
        MAX ( 'Table'[Country] ),
        FILTER ( 'Table', 'Table'[Index] = EARLIER ( 'Table'[Index] ) )
    )
        = BLANK (),
    0,
    1
)

 

isnotblankN =
IF (
    CALCULATE (
        MAX ( 'Table'[Name] ),
        FILTER ( 'Table', 'Table'[Index] = EARLIER ( 'Table'[Index] ) )
    )
        = BLANK (),
    0,
    1
)

 Then new a measure:

Completed =
SUMX (
    SUMMARIZE (
        'Table',
        'Table'[isnotblankN],
        'Table'[isnotblankCoun],
        'Table'[isnotblankCity],
        'Table'[isnotblankA]
    ),
    'Table'[isnotblankA] + 'Table'[isnotblankCity] + 'Table'[isnotblankCoun] + 'Table'[isnotblankN]
) / 4

vyinliwmsft_1-1669773323239.png

 

The result is:

vyinliwmsft_0-1669773252197.png

Hope these help you.

Here is my PBIX file.

 

Best Regards,

Community Support Team _Yinliw

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

 

View solution in original post

3 REPLIES 3
StuartSmith
Power Participant
Power Participant

Anyone? 🙂

Hi @StuartSmith ,

 

You can try this method:

Add a index column, and add these columns:

isnotblankA =
IF (
    CALCULATE (
        MAX ( 'Table'[Age] ),
        FILTER ( 'Table', 'Table'[Index] = EARLIER ( 'Table'[Index] ) )
    )
        = BLANK (),
    0,
    1
)
isnotblankCity =
IF (
    CALCULATE (
        MAX ( 'Table'[City] ),
        FILTER ( 'Table', 'Table'[Index] = EARLIER ( 'Table'[Index] ) )
    )
        = BLANK (),
    0,
    1
)
isnotblankCoun =
IF (
    CALCULATE (
        MAX ( 'Table'[Country] ),
        FILTER ( 'Table', 'Table'[Index] = EARLIER ( 'Table'[Index] ) )
    )
        = BLANK (),
    0,
    1
)

 

isnotblankN =
IF (
    CALCULATE (
        MAX ( 'Table'[Name] ),
        FILTER ( 'Table', 'Table'[Index] = EARLIER ( 'Table'[Index] ) )
    )
        = BLANK (),
    0,
    1
)

 Then new a measure:

Completed =
SUMX (
    SUMMARIZE (
        'Table',
        'Table'[isnotblankN],
        'Table'[isnotblankCoun],
        'Table'[isnotblankCity],
        'Table'[isnotblankA]
    ),
    'Table'[isnotblankA] + 'Table'[isnotblankCity] + 'Table'[isnotblankCoun] + 'Table'[isnotblankN]
) / 4

vyinliwmsft_1-1669773323239.png

 

The result is:

vyinliwmsft_0-1669773252197.png

Hope these help you.

Here is my PBIX file.

 

Best Regards,

Community Support Team _Yinliw

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

 

That worked great 🙂 I was trying to get it working in 1 measure, instead of mutiple measures, etc.

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