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
Oskar
Helper I
Helper I

Table of data - measure removes blank columns how to fix?

I have a table:

Oskar_0-1713814138362.png

 

Some of the columns in ClosedAt is blank.

I made this measure:

TimeToSolved = AVERAGEX(
    Cases,
    DATEDIFF(Cases[OpenedAt],Cases[ClosedAt],day)
)

 

 

 

When i add this measure to the table i get the expected result.

But all the rows with blank value disapear.

 

How to keep them but dont give result or 0 as result in the measure?

 

 

 

 

 

2 ACCEPTED SOLUTIONS
_AAndrade
Super User
Super User

Hi @Oskar

Try something like this:

 

IF ( ISBLANK(Cases[ClosedAt]), "-", 

AVERAGEX(
    Cases,
    DATEDIFF(Cases[OpenedAt],Cases[ClosedAt],day)
)




Did I answer your question? Mark my post as a solution! Kudos are welcome.

Proud to be a Super User!




View solution in original post

audreygerred
Super User
Super User

Right click on OpenedAt in the visualization pane for your visual and select show items with no data.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

2 REPLIES 2
audreygerred
Super User
Super User

Right click on OpenedAt in the visualization pane for your visual and select show items with no data.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





_AAndrade
Super User
Super User

Hi @Oskar

Try something like this:

 

IF ( ISBLANK(Cases[ClosedAt]), "-", 

AVERAGEX(
    Cases,
    DATEDIFF(Cases[OpenedAt],Cases[ClosedAt],day)
)




Did I answer your question? Mark my post as a solution! Kudos are welcome.

Proud to be a Super User!




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