Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Cross Date and Amount from 2 sides

Hello everyone,

Sorry, I got one problem...

 

I m gonna try to be clear... 😉

 

I got a Table "Reservation" with id

The idReservation is linked with 2 Tables. One of it contains the amounts, the other contains the planning (the dates).

And the Table which contains the Date is linked with my Table "date" obviously.

(You can notice that a reservation may be on several days...si on serveral month)

 

And I would like my amount for each month.

I think you have all the informations.

 

Thank you for all,

2 REPLIES 2
v-yuta-msft
Community Support
Community Support

Hi bapt69,

 

What's the table structure between the two tables? Suppose the relationship between table ’Date‘ and 'Reservation' is one-many, you can create a calculate column using DAX below to achieve amount in each Month:

 

Amount =
CALCULATE (
    COUNT ( Reservation[id] ),
    FILTER ( Date, MONTH ( Date[date] ) = MONTH ( EARLIER ( Date[Date] ) ) )
)

Regards,

Jimmy Tao

Anonymous
Not applicable

Sorry, the dates are on the Table wich is linked at Reservation.

There is no Date on the table Reservation.

 

Date -> Ressources (with planning) <- Reservations -> Inscriptions -> InsciptionLines (with amounts)

(All links one-many)

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors