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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.