Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
Solved! Go to Solution.
@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])
Proud to be a 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!!
Proud to be a 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!!
Proud to be a 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])
Proud to be a Super User! |
|
User | Count |
---|---|
77 | |
75 | |
46 | |
31 | |
28 |
User | Count |
---|---|
99 | |
93 | |
50 | |
49 | |
46 |