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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.