Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi All,
I have a dataset similar to the below.
| Date | ID | Fail Reason |
| 01/01/2021 | 1 | Too big |
| 01/02/2021 | 1 | Too small |
| 02/01/2021 | 2 | Incorrect |
| 03/02/2021 | 3 | Too big |
Column 'ID' is marked as a text field. I am trying to do a distinct count of column 'ID' which reffering to the above dataset should return 3.
Putting the column 'ID' into a card visual and summarizing to Distinct Count is returning 4 and summarizing to Count is returning 4.
Any ideas as to why I am not seeing the desired 3 answer?
Solved! Go to Solution.
@Anonymous , Refer @Arul solution. Also, check do you have some space around the other 1. Use trim and lean in power query to clean ID column
Power Query Trim and Clean : https://youtu.be/NRYPsCnS0w4
@Anonymous , Refer @Arul solution. Also, check do you have some space around the other 1. Use trim and lean in power query to clean ID column
Power Query Trim and Clean : https://youtu.be/NRYPsCnS0w4
Hi @Anonymous ,
I am getting the correct value while using the sample dataset with which you were provided. I have used Count (Distinct) option.
Thanks,
Arul
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 42 | |
| 37 | |
| 35 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 67 | |
| 58 | |
| 29 | |
| 27 | |
| 25 |