Forum Discussion
Make Card Visual show 0 not Blank
- 8 years ago
Hi srhsloan,
Power BI measures behave like that by design. You need to set it in your measure If you want to override this behavior. You can make your DAX measure something like this:
MEASURE = IF ( ISBLANK ( SUM ( 'Table'[Sales] ) ), 0, SUM ( 'Table'[Sales] ) )
Be aware that the this will affect how the visuals that use this modified measure and other measures that are dependent on this modified measure look.
Hi srhsloan,
Power BI measures behave like that by design. You need to set it in your measure If you want to override this behavior. You can make your DAX measure something like this:
MEASURE = IF ( ISBLANK ( SUM ( 'Table'[Sales] ) ), 0, SUM ( 'Table'[Sales] ) )
Be aware that the this will affect how the visuals that use this modified measure and other measures that are dependent on this modified measure look.
Thanks danextian. I wasn't using a measure, just the filter fields, but a measure has sorted out exactly what I needed. The final formula I've ended up with is
NoTShirtSize = IF(ISBLANK(COUNTBLANK('Work Items - Today'[TShirt Size])), 0, COUNTBLANK('Work Items - Today'[TShirt Size]))- muzammil13 years agoNew Member
Hi
I am very New to power bi can tell me Where i have to put this syntax/formula in detail?