Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
I have two columns - id and date(some consecutive days).
ID date
1 08/03/17
1 08/04/17
2 08/03/17
2 08/04/17
3 08/03/17
3 08/04/17
What I want to find out is
08/03/17 - 3 (distinct count of ids)
- 0 (distinct count of ids that are in common with today and previous day)
08/04/17 -3 (distinct count of ids)
- 2 (distinct count of ids that are in common with today and previous day)
Please do let me know if there is any way to do this
Solved! Go to Solution.
Not very sure for your calculate steps.
On my side, I get the different analysis result.
Summary table:
Table = ADDCOLUMNS(SUMMARIZE('sample',[date],"Distict ID",COUNTROWS(VALUES('sample'[ID]))),"Previous",CALCULATE(COUNTROWS(VALUES('sample'[ID])),'sample'[date]<EARLIER('sample'[date]))+0)
Regards,
XIaoxin Sheng
I have two columns - id and date(some consecutive days).
ID date
1 08/03/17
1 08/04/17
2 08/03/17
2 08/04/17
3 08/03/17
3 08/04/17
What I want to find out is
08/03/17 - 3 (distinct count of ids)
- 0 (distinct count of ids that are in common with today and previous day)
08/04/17 -3 (distinct count of ids)
- 2 (distinct count of ids that are in common with today and previous day)
Please do let me know if there is any way to do this
Not very sure for your calculate steps.
On my side, I get the different analysis result.
Summary table:
Table = ADDCOLUMNS(SUMMARIZE('sample',[date],"Distict ID",COUNTROWS(VALUES('sample'[ID]))),"Previous",CALCULATE(COUNTROWS(VALUES('sample'[ID])),'sample'[date]<EARLIER('sample'[date]))+0)
Regards,
XIaoxin Sheng
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 52 | |
| 45 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 108 | |
| 108 | |
| 39 | |
| 33 | |
| 25 |