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
soldous
Advocate II
Advocate II

Keep null rows after applying a measure

I have a table where for some columns in a row null values can appear and it is wanted. But when I add a simple SUM measure to this table null records are completely filtered out. Is there any way how to apply measure only for rows where there is a value but keep empty rows as well?

3 REPLIES 3
tamerj1
Super User
Super User

Measure =
VAR Clculation =
"your sum function"

VAR Result =
IF ( ISBLANK ( Clculation ),

"",

Clculation
)

RETURN

Result

you can replace "" with 0

amitchandak
Super User
Super User

@soldous , Try the option in visualization pane - Show item with no data or add +0 to you measure

 

ShowItemwithoutdata.JPG

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

Show items with no data is not applicable because in some columns I don't want nulls but is some columns I do. Show items with no data shows all blanks.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.