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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Anonymous
Not applicable

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

@Anonymous , 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 @Anonymous - 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 @Anonymous - 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

@Anonymous , 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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.