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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

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
v-kelly-msft
Community Support
Community Support

Hi @Anonymous ,

 

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
v-kelly-msft
Community Support
Community Support

Hi @Anonymous ,

 

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!

 

az38
Community Champion
Community Champion

@Anonymous 

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

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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