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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.