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! Learn more

Reply
Syndicate_Admin
Administrator
Administrator

DATESMTD in table related to multiple tables only takes me one

Hello team!

I have a problem with the DATESMTD function

I have a report that brings me information from 7 different tables, tables that are already related to each other by two master tables, one that relates all the users of the different tables and a calendar table to be able to filter by dates.

The drawback with the function is that when I add it to the table that collects all the information, it only gives me value in one of the fields and the rest are blank.

The only peculiarity that this field has in which the function does give results is that it comes from a table that has a single user (all tables are transactions of users from different platforms)

Help!!

1 REPLY 1
amitchandak
Super User
Super User

@Syndicate_Admin , All Fact should join with dimensions/master table including date

Date table join should be marked as date table and join should be single directional .

 

if no date is selected datesmtd uses the last date of date table and that month should have data

 

Why Time Intelligence Fails - Powerbi 5 Savior Steps for TI :https://youtu.be/OBf0rjpp5Hw
https://amitchandak.medium.com/power-bi-5-key-points-to-make-time-intelligence-successful-bd52912a5b...
To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
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!

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.

Top Solution Authors