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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.