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!Get 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!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 104 | |
| 81 | |
| 66 | |
| 50 | |
| 45 |