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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
m3awadhi
Frequent Visitor

Aggregation not working when using Date Table

Hello everybody,
I have two tables in my model ,first  table is Calculated  Dates Table .
Second table is Requests Table as shown below,
Both Tables have Year Field, 
Everything is working as expected when I do aggregation based on year field from Requests Table.
Requests.png
But aggregation is not working when i use Year Field from Dates table,
I have attached pbix  and  excel file,
RequestsDev.pbix
Requests.xlsx
Kindly check 
Thanks

1 ACCEPTED SOLUTION
v-lili6-msft
Community Support
Community Support

Hi@ m3awadhi 

After my research , you need to and a new column and create the relationship between Requests and Dates by 

the new column and date instead of CreatedOn and date like below:

Column = DATEVALUE(Requests[CreatedOn])

4.PNG

Result:

5.png

Best Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-lili6-msft
Community Support
Community Support

Hi@ m3awadhi 

After my research , you need to and a new column and create the relationship between Requests and Dates by 

the new column and date instead of CreatedOn and date like below:

Column = DATEVALUE(Requests[CreatedOn])

4.PNG

Result:

5.png

Best Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi  @v-lili6-msft

It is working now 
Thanks alot,
 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.