Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have data set like this
Sr. No. | CNIC | Creation_Date |
1 | 1234 | 20-Jan-23 |
2 | 1235 | 23-Jan-23 |
3 | 1236 | 16-Mar-23 |
4 | 1234 | 26-Mar-23 |
5 | 1234 | 27-Mar-23 |
6 | 1235 | 16-Apr-23 |
7 | 1234 | 20-May-23 |
8 | 1236 | 2-Jun-23 |
Resulted data set may look like | ||
CNIC | Creation_Date | |
1 | 1234 | 20-May-23 |
2 | 1235 | 16-Apr-23 |
3 | 1236 | 2-Jun-23 |
and results would be | ||
CNIC | 3 |
I can distict count separetly on CNIC and Creation Date but unable to get combined. Please guide...
Solved! Go to Solution.
Hi, @afeer
try below code
maxdate =
MAX(Table1[Creation_Date])
count of cnic =
COUNTX(
FILTER(
ALL(Table1[CNIC]),
MAX(Table1[Creation_Date])
),
Table1[CNIC]
)
Hi, @afeer
try below code
maxdate =
MAX(Table1[Creation_Date])
count of cnic =
COUNTX(
FILTER(
ALL(Table1[CNIC]),
MAX(Table1[Creation_Date])
),
Table1[CNIC]
)
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
9 | |
7 | |
7 | |
6 |
User | Count |
---|---|
21 | |
11 | |
10 | |
9 | |
8 |