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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply

DATEADD and SUM returns the same value

Hello experts,

 

I want to retrieve the nb_conv_int for the last month so I used DATEADD as you can see below:

Nb_conv M-1:=CALCULATE([Nb_conv_inter];DATEADD('Date_table'[Date];-1;MONTH))

But I get the same result like this formula:

Nb_conv_inter:=SUM([C.Interactive])

FranckGbadamass_0-1661268995881.png

I don't know what's going wrong. Here is my data 

 

Below my data model:

FranckGbadamass_1-1661269296035.png

 

I appreciate any help thanks.

4 REPLIES 4
v-yetao1-msft
Community Support
Community Support

Hi @FranckGbadamass 

How about the date table ? Can you provide the data of your date table or a pbix file (remove sensitive info) ?

 

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

amitchandak
Super User
Super User

@FranckGbadamass , Please provide access to file .

But refer to my blog, it should one of the 5 reasons

 

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...

@FranckGbadamass , Data in shared excel is of only 2022. If this does not help
Can you a sample pbix after removing sensitive data.

 

Make visual /measure and slicer use column from date table. and Date table is marked as date table. This usally cause that issue.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.