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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ahmed_MEJRI
Helper I
Helper I

Help about the slicer between and dynamic sum(amount)

Hi Experts,

i'm working a report that shows sales by agent (representative of sales site) and i filtred dynamically by the slicer between two dates , the problem that when i verify my work in SQL by a simple query :

select Représentant, sum([Mnt HT]) as sommeCA from Fact_Ventes A

join dm_client B on A.[Code Client]= B.[Id_Client]

WHERE A.[Date] between '2018-01-01' and '2018-12-31'

GROUP BY B.[Représentant]

--> and i find that statistics are not similars between Power BI and SQL server (very different)

really i tried many things but i didn't found solution. But note that i verify statistics for other reports in sql server and it's OK. Really i'm stressed for this abnormal situation.ca1.pngca2.png

1 REPLY 1
v-yuta-msft
Community Support
Community Support

@ahmed_MEJRI ,

 

I guess 'Mnt_HT' is a measure, right? Could you please share the dax code?

 

Regards,

Jimmy Tao

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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