Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have a table:
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?
Solved! Go to Solution.
Hi @Oskar
Try something like this:
IF ( ISBLANK(Cases[ClosedAt]), "-",
AVERAGEX(
Cases,
DATEDIFF(Cases[OpenedAt],Cases[ClosedAt],day)
)
Proud to be a Super User!
Right click on OpenedAt in the visualization pane for your visual and select show items with no data.
Proud to be a Super User! | |
Right click on OpenedAt in the visualization pane for your visual and select show items with no data.
Proud to be a Super User! | |
Hi @Oskar
Try something like this:
IF ( ISBLANK(Cases[ClosedAt]), "-",
AVERAGEX(
Cases,
DATEDIFF(Cases[OpenedAt],Cases[ClosedAt],day)
)
Proud to be a Super User!
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.