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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register 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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

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

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.