cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rachelsander79 Frequent Visitor
Frequent Visitor

Card Count not providing the correct count

I'm new to Power Bi, and I'm trying to create reports for my managers that are easily readable for tracking the amount of work open and processed.  When I use a card to get a count, I'm getting numbers that are several counts below what it should be.  We have 93 orders, but the count shows 85 or 86.  Checking and filtering the query shows the 93.

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Card Count not providing the correct count

@rachelsander79column you counting is ECN Ref (based on card visual), does it have blank? Can you create measure like below and use that measure on the card.

 

Cnt = COUNTROWS( Table )




Did I answer your question? Mark my post as a solution.

Proud to be a Datanaut! Kudos Help Smiley Happy
Connect with me on Linkedin. Feel free to email me with any of your BI needs.




 




7 REPLIES 7
Super User
Super User

Re: Card Count not providing the correct count

@rachelsander79 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





Did I answer your question? Mark my post as a solution.

Proud to be a Datanaut! Kudos Help Smiley Happy
Connect with me on Linkedin. Feel free to email me with any of your BI needs.




 




rachelsander79 Frequent Visitor
Frequent Visitor

Re: Card Count not providing the correct count

I've looked through topics and can't find this exact issue and or how to fix it.  I'm using Windows 10 with Office 365 and Power Bi.  To provide more information, I'm generating a report and trying to create a card and I know that there is 93 rows of data for the specific I'm looking for, but the card I choose only shows a count of either 85 or 86.  

Below is a screenshot showing the filtered data that shows 93 rows and below that is the card showing 86.  Is anyone able to help?

 

data.JPG

 

Capture2.JPG

 

Mezmarianne Regular Visitor
Regular Visitor

Re: Card Count not providing the correct count

Are you using count or distinctcount?
rachelsander79 Frequent Visitor
Frequent Visitor

Re: Card Count not providing the correct count

I've tried it with both.  

Highlighted
Mezmarianne Regular Visitor
Regular Visitor

Re: Card Count not providing the correct count

Are you using a measure or counting a field in you dataset?

 

rachelsander79 Frequent Visitor
Frequent Visitor

Re: Card Count not providing the correct count

I'm counting a field in my dataset.  

 

I found a way to make it work, but it's a work-around not a solution, I created a new column in my dataset, using only the year, and then counted that and received the correct number. 


@Mezmarianne wrote:

Are you using a measure or counting a field in you dataset?

 


 

Super User
Super User

Re: Card Count not providing the correct count

@rachelsander79column you counting is ECN Ref (based on card visual), does it have blank? Can you create measure like below and use that measure on the card.

 

Cnt = COUNTROWS( Table )




Did I answer your question? Mark my post as a solution.

Proud to be a Datanaut! Kudos Help Smiley Happy
Connect with me on Linkedin. Feel free to email me with any of your BI needs.