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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
tksnota
Post Patron
Post Patron

Issue with Count

Hi,

 

I'm confused about the number of proposals.

 

I used the card then select count distinct even created a few dax using count and distinctcount but the numbers don't add up.

 

As shown the power bi display 285 but when I downloaded the file into csv the correct number should be 223 (excluding header)

 

Hope someone can help

 

//NT

 

 

tksnota_0-1722422478883.png

 

 

tksnota_1-1722422568952.png

 

2 ACCEPTED SOLUTIONS
bhanu_gautam
Super User
Super User

@tksnota , Check if there are some hidden rows are there or not in csv, and check count in Power Query while doing transformation

 

TotalProposals = COUNT('Table'[ProposalID])
UniqueProposals = DISTINCTCOUNT('Table'[ProposalID])




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






View solution in original post

rajendraongole1
Super User
Super User

Hi @tksnota - Can you cross check the proposal count in table view, what is the distinct count? ensure that your DAX measures are accurately counting distinct values based on the correct criteria.

I hope there are no filters applied to the card visual or the page that might affect the count

 

may be if there is any filters applied use the below measure

 

DistinctProposalCount_NoFilters =
CALCULATE(
DISTINCTCOUNT('YourTable'[Proposal No]),
REMOVEFILTERS('YourTable')
)

 

 

still issue exist, share some sampledata for reference.

Hope it helps

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!





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

Proud to be a Super User!





View solution in original post

2 REPLIES 2
rajendraongole1
Super User
Super User

Hi @tksnota - Can you cross check the proposal count in table view, what is the distinct count? ensure that your DAX measures are accurately counting distinct values based on the correct criteria.

I hope there are no filters applied to the card visual or the page that might affect the count

 

may be if there is any filters applied use the below measure

 

DistinctProposalCount_NoFilters =
CALCULATE(
DISTINCTCOUNT('YourTable'[Proposal No]),
REMOVEFILTERS('YourTable')
)

 

 

still issue exist, share some sampledata for reference.

Hope it helps

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!





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

Proud to be a Super User!





bhanu_gautam
Super User
Super User

@tksnota , Check if there are some hidden rows are there or not in csv, and check count in Power Query while doing transformation

 

TotalProposals = COUNT('Table'[ProposalID])
UniqueProposals = DISTINCTCOUNT('Table'[ProposalID])




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.