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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
pmahale
Frequent Visitor

Totals are not coming correct

Hi,

 

The total number of new customers is not correct. The total should be 32,261.

pmahale_0-1656624863201.png

How to fix this? Please advise.

 

Thanks

1 ACCEPTED SOLUTION

Hi,

These are my measures

Date of first interaction = CALCULATE(MIN('Waterfall Data'[transdate]),DATESBETWEEN('Dim Date'[Date],MINX(ALL('Dim Date'),'Dim Date'[Date]),MAX('Dim Date'[Date])))
New cust = countrows(FILTER(values('Waterfall Data'[customerid]),[Date of first interaction]>=MIN('Dim Date'[Date])))

Hope this helps.

See the third column

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

11 REPLIES 11
v-xiaotang
Community Support
Community Support

Hi @pmahale 

Thanks for reaching out to us.

Could you please share a sample file for us to check the issue? Thanks.

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

Hi ,

 

Please refer to the file. The totals are not coming to be correct for new customers,existing customers,prior month customers.

https://drive.google.com/file/d/1p_JA0OQs9xVjsPOaLrr49nTh1-fhVsWv/view?usp=sharing 

 

Thanks

Ashish_Mathur
Super User
Super User

Hi,

That number may be correct because a customer in March may also be a customer in May.  In such a case, a simple addition will give the wrong answer.  If you need further help, then share the download link of the PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi @Ashish_Mathur ,

 

Please refer to the attached file.

 

The totals are not coming correct.

https://drive.google.com/file/d/1p_JA0OQs9xVjsPOaLrr49nTh1-fhVsWv/view?usp=sharing 

 

Thanks

Hi,

These are my measures

Date of first interaction = CALCULATE(MIN('Waterfall Data'[transdate]),DATESBETWEEN('Dim Date'[Date],MINX(ALL('Dim Date'),'Dim Date'[Date]),MAX('Dim Date'[Date])))
New cust = countrows(FILTER(values('Waterfall Data'[customerid]),[Date of first interaction]>=MIN('Dim Date'[Date])))

Hope this helps.

See the third column

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Thanks @Ashish_Mathur for your help. This works.

You are welcome.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
0leg
New Member

VahidDM
Super User
Super User

Hi @pmahale 

 

Is "new customers" a measure? It's a common issue, please check this blog:
https://www.vahiddm.com/post/why-my-measure-returns-the-wrong-total

 

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.

Appreciate your Kudos!! 

Badges.jpg

LinkedIn | Twitter | Blog | YouTube 

 

 

Hi @VahidDM 

Please refer to the file. I am not getting the totals correct.

https://drive.google.com/file/d/1p_JA0OQs9xVjsPOaLrr49nTh1-fhVsWv/view?usp=sharing 

Anonymous
Not applicable

Hello @pmahale, please visit the link below:

https://youtu.be/ufHOOLdi_jk 

I hope it answer your question.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.