Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hello,
I am trying to use a measure that uses DISTINCTCOUNT and several of my items are not being counted.
I have simplified my measure to the minimum (eliminated all filters and conditions) to troubleshoot and even just a basic COUNT is not working as expected. I am down to a table with 2 items in it, I am trying to count the number of items based the field named PR ID.
When I add the field to a table (or a bar chart) and use Count or Count (Distinct), I get the expected count of 2.
When I use a Measure with COUNT or DISTINCTCOUNT from that same field, only one of the 2 items is being counted and I get a result of 1 (instead of 2).
Any help with what might be going on would be greatly appreciated as I cannot figure out what might be going on here.
Thanks!
Solved! Go to Solution.
Thank you @Bmejia, the table that the measure was in had a filter that carried over from my copy/paste and I did not realize it (and feel pretty bad for not seeing that!) . All good now.
I would double check you don't have anything filtering the measures. I recreated the same measure with just the two PR ID and I am getting 2 not 1. )-:
Thank you @Bmejia, the table that the measure was in had a filter that carried over from my copy/paste and I did not realize it (and feel pretty bad for not seeing that!) . All good now.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
92 | |
86 | |
85 | |
66 | |
49 |
User | Count |
---|---|
140 | |
113 | |
104 | |
64 | |
60 |