Forum Discussion
MEFOX
Helper III
5 years agoStacked Column Chart - removing axis items if the value field contains blank or zero
The description in the axis should not show up if there isnt a value greater then 0. Can some one tell me how to prevent the axis description from appearing? thanks
- 5 years ago
Can you try in the filters, advance filtering, is greater than zero?
- 5 years ago
Hi,
Why not just this?
Total Contacts = DISTINCTCOUNTNOBLANK('Shared FactEventHistory'[ContactID])
Anyways, if you must show a 0, then try this measure
Total Contacts = COALESCE(DISTINCTCOUNTNOBLANK('Shared FactEventHistory'[ContactID]),0)
parry2k
Super User
5 years agoMEFOX what is the measure you are using for value? Read this post to get your answer quickly.
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
MEFOX
Helper III
5 years agoThe measure is
Total Contacts = if(
ISBLANK(
DISTINCTCOUNTNOBLANK('Shared FactEventHistory'[ContactID]))=TRUE(),
0,
DISTINCTCOUNTNOBLANK('Shared FactEventHistory'[ContactID]
)
)
- Ashish_Mathur5 years ago
Super User
Hi,
Why not just this?
Total Contacts = DISTINCTCOUNTNOBLANK('Shared FactEventHistory'[ContactID])
Anyways, if you must show a 0, then try this measure
Total Contacts = COALESCE(DISTINCTCOUNTNOBLANK('Shared FactEventHistory'[ContactID]),0)