- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Count repeated data between two bases
Hi there. I need a help.
I need count repeted data between two bases.
Base A - Calendar: Contain all date of a month (date no repeat)
Base B - Ticket registration: Contains many records throughout the month (more than one record for each day of month )
I need include a column in table Base A - Calendar to count how many times the records of table Base B - Ticket registration appears according a date in Base A.
Ex: Table B there is 4 records in day 20 and 9 records in day 25:
Tabble A - Caledar
Thanks so much
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @Mfouyer ,
Try the below formula:
Column =
VAR dul =
CALCULATE (
COUNTROWS ( 'Table' ),
ALLEXCEPT ( 'Table', 'Table'[Date], 'Table'[Record] )
)
RETURN
IF ( dul = 1, 0, 1 )
M =
VAR row_total =
CALCULATE ( COUNTROWS ( 'Table' ), ALLEXCEPT ( 'Table', 'Table'[Date] ) )
VAR row_dul =
CALCULATE ( SUM ( 'Table'[Column] ), ALLEXCEPT ( 'Table', 'Table'[Date] ) )
RETURN
row_total - row_dul
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @Mfouyer ,
Try the below formula:
Column =
VAR dul =
CALCULATE (
COUNTROWS ( 'Table' ),
ALLEXCEPT ( 'Table', 'Table'[Date], 'Table'[Record] )
)
RETURN
IF ( dul = 1, 0, 1 )
M =
VAR row_total =
CALCULATE ( COUNTROWS ( 'Table' ), ALLEXCEPT ( 'Table', 'Table'[Date] ) )
VAR row_dul =
CALCULATE ( SUM ( 'Table'[Column] ), ALLEXCEPT ( 'Table', 'Table'[Date] ) )
RETURN
row_total - row_dul
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources
Join our Fabric User Panel
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Power BI Monthly Update - June 2025
Check out the June 2025 Power BI update to learn about new features.

Subject | Author | Posted | |
---|---|---|---|
04-25-2025 08:23 AM | |||
06-13-2025 08:48 AM | |||
05-29-2025 09:37 AM | |||
05-27-2025 06:11 PM | |||
07-05-2023 09:53 AM |
User | Count |
---|---|
65 | |
63 | |
51 | |
37 | |
36 |
User | Count |
---|---|
78 | |
66 | |
58 | |
45 | |
45 |