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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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.

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
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!:
Power BI Cookbook Third Edition (Color)

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.