Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi all,
How to count a column that has a ID that is a combination of text and numbers.
For example: Table has IDs by month. I want to be able to count the distinct IDs by month and then plot the number count on a line chart. Could you please help. Thanks a lot.
Month ID
Jul. ST54
Jul. DX98
Jul. ST54
Aug. DX98
Aug. FR22
Aug. DX98
Sep. EY34
Solved! Go to Solution.
Hi @PXJ99 ,
Try the following measure:
Measure = CALCULATE(DISTINCTCOUNT('Table'[ID]),FILTER(ALLSELECTED('Table'),[Month]=MAX('Table'[Month])))
In the line chart:
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks very much for your reply. Sorry for my late response.
Hi @PXJ99 ,
Try the following measure:
Measure = CALCULATE(DISTINCTCOUNT('Table'[ID]),FILTER(ALLSELECTED('Table'),[Month]=MAX('Table'[Month])))
In the line chart:
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks very much for your reply. Sorry for my late response.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
96 | |
77 | |
66 | |
53 |
User | Count |
---|---|
144 | |
105 | |
102 | |
89 | |
63 |