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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
vitinho
Helper I
Helper I

doubled sum valeus

Hello,

I have two analytics extractions that are linked by the key "Source_Medium_Campaign" and are grouped in categories by the same fact table.
With this relation I'm able to calculate the sum of product revenues from one extraction using the other extraction as reference.
But some lines are being counted twice, the only difference between them are some fields that have some capitalized letters. Even using LOWER( ) functiong I'm still having this problem. Can anyone help?

Thanks in advance
soma_dobrada.png

5 REPLIES 5
Greg_Deckler
Super User
Super User

Very difficult to determine the issue from the information provided. Any chance you can provide some sample source data?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Do you know a way to extract a sample from a Analytics Query?

@vitinho

 

Using LOWER() within EXACT() should be no problem. I can't find any syntax issue in your measure. You can change the filter expression into:

 

FILTER(Table1, 
Table1[Date]=Table2[Date] && 
Table1[Can_n1&n2]=Table2[Can_n1&n2] && 
LOWER(Table1[IDTudepara])=LOWER(Table2[IDTudepara]) )

 

 

If the issue still persists, please share some sample data.

 

Regards,

The issue still persists, how can I send some sample data?

Make sure there is no leading or trailing white space, which would appear as a unique record regardless of lower/uppercase.

 

https://msdn.microsoft.com/en-us/library/ee634558.aspx

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.