Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
CrackerBen
Regular Visitor

Card showing blanks

Hi,

I have looked through many other posts related to a card showing blank but I am still unable to figur eout what ive done wrong.

I have a cloumn that called status that has a few status's. 

I f i have an empty filter, everything is showing fine.

1.PNG

 

However, when I change the filter I get blank

2.PNG

 

How do I make this a zero instead of blank. I tried creating a measure while following similar posts but im still getting blanks.

Thanks in advance

9 REPLIES 9
v-frfei-msft
Community Support
Community Support

Hi @CrackerBen ,

 

Please add +0 in your formula to work on it like that.

 

C = [count of status]+0

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Using 

CountofStatus = COUNTA(Table1[Status])+0
 
still shows (Blank)

Hi @CrackerBen ,

 

kindly share your sample data or Pbix to me if you don't have any Confidential Information. Please upload your files to One Drive for Business and share the link here.

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Sadly, there is private information in the data. I can provide a screenshot of whats in the column if that helps?

amitchandak
Super User
Super User

@CrackerBen 

Check for other filters on the page.

Plot this in a table visual and take status and count of status and see which value has how much count. That will help in checking.

 

Can you share sample data and sample output.

Greg_Deckler
Super User
Super User

Should perhaps create a measure like this:

Measure =
VAR __Count = COUNT('Table'[Status])
RETURN
IF(ISBLANK(__Count),0,__Count)

Use that in your Card visual

Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Tahreem24
Super User
Super User

As per your screenshot, you have selected one value in slicer visual just next to Card. Please unselect that value and then apply the visual level filter.

Don't forget to give thumbs up 👍 and accept this as a solution if it helped you.
Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard
Ashish_Mathur
Super User
Super User

Hi,

Try this measure

=COUNTA(Data[Status])

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

HI, This didnt work

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

Top Solution Authors