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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
HCBD13
Regular Visitor

Use overall value for blank rows

Hi, so in my dimension table, I have an ID which does not exist to a connected fact table, thus showing blank to a matrix visual. Is there a way to use the overall value calculated by a measure for blank rows?

Blank rows

HCBD13_2-1732830730221.png

fill those blank columns with the overall value: 

HCBD13_3-1732830785701.png

 

2 ACCEPTED SOLUTIONS
FreemanZ
Super User
Super User

hi @HCBD13 ,

 

try like:

new measure =

COALESCE(

   [revenue%],

   CALCULATE(

        [revenue%],

        ALL(dimtable[ID])

    )

)

View solution in original post

Anonymous
Not applicable

Thanks for the reply from FreemanZ, please allow me to provide another insight.
Hi @HCBD13 ,

Please try the following measure.

Measure = IF(
    SUM(FactTable[Revenue%])=BLANK(),
    CALCULATE(SUM(FactTable[Revenue%]),ALL(DimID[ID])),
    SUM(FactTable[Revenue%])
    )

vdengllimsft_0-1732863480333.png


Please see the attached pbix for reference.

Best Regards,
Dengliang Li

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

2 REPLIES 2
Anonymous
Not applicable

Thanks for the reply from FreemanZ, please allow me to provide another insight.
Hi @HCBD13 ,

Please try the following measure.

Measure = IF(
    SUM(FactTable[Revenue%])=BLANK(),
    CALCULATE(SUM(FactTable[Revenue%]),ALL(DimID[ID])),
    SUM(FactTable[Revenue%])
    )

vdengllimsft_0-1732863480333.png


Please see the attached pbix for reference.

Best Regards,
Dengliang Li

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

FreemanZ
Super User
Super User

hi @HCBD13 ,

 

try like:

new measure =

COALESCE(

   [revenue%],

   CALCULATE(

        [revenue%],

        ALL(dimtable[ID])

    )

)

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors