Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
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
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 |
|---|---|
| 65 | |
| 64 | |
| 45 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 119 | |
| 116 | |
| 38 | |
| 36 | |
| 27 |