cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Prodigy
Post Prodigy

DateDiff sum

Hello  -  I would like to, using DAX or mquery, fix the issue I am having below.    Trying to sum up the days between when a Lead is created by our salespeople....and when that actual account  (from that Lead) gets created.   

 

The 3rd column is correct  -  acheived by selecting the "do not sum" option in the visualization area.     The far right column is what happens if I don't, and just leave it as "summarize".  

 

Is there a way to achieve having this calculated column  NOT sum, within the formula itself?     Or perhaps can a measure be created instead?    Thanks!

 

 

 

datediff .png

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: DateDiff sum

Hi @texmexdragon

 

You can go to data view>select the calcualted column>column tools>"dont summarize":

Annotation 2020-06-01 094719.png

And when you put the column value in a visual you will see:

Annotation 2020-06-01 094501.png

The valued is not summed up automatically.

 

 
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!

 

View solution in original post

2 REPLIES 2
Highlighted
Super User II
Super User II

Re: DateDiff sum

@texmexdragon 

this behaviour ais explained by that fact that you have a few rows with the same pair Lead - Acc dates.

you need to define business logic how do you want to calculate cases with two identical date's pairs


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Highlighted
Community Support
Community Support

Re: DateDiff sum

Hi @texmexdragon

 

You can go to data view>select the calcualted column>column tools>"dont summarize":

Annotation 2020-06-01 094719.png

And when you put the column value in a visual you will see:

Annotation 2020-06-01 094501.png

The valued is not summed up automatically.

 

 
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!

 

View solution in original post

Helpful resources

Announcements
Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors