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
Anonymous
Not applicable

add DATEIFF column to exist matrix

i created DATEDIFF column from two date column, and when i add this column to exist table, all the values disappear.

when i add thus two date column together, all the data not disappear. 

 

what can cause this issue?

 

3 REPLIES 3
VijayP
Super User
Super User

@Anonymous 

Can i see sample data so that I can test it before giving a right solution!




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


VijayP
Super User
Super User

@Anonymous  Do you mean existing table = Visual ? 

DATEDIFF generates the scalar value between two different units and since those dates are missing , it cannot understand where from the value should come hence this behaviou

https://learn.microsoft.com/en-us/dax/datediff-function-dax




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


Anonymous
Not applicable

@VijayP exist table - yes visual matrix

no, if one of the values empty i will see empty value on this column.

my problem is when is when i add the column with dateiff, first screenshot you can see before i add duration column (the column with values, i just removed from the image) , and second screen short its after (all data disappear)

before.jpg

  after.jpg

 

 

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.