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
Lemmon2314
Frequent Visitor

Result of filter is different in SQL Server and Power BI

 

Hi Guys, i hope you could help me with this one.

I have a report that is connected to SQL Server for the data.

Why is that the result of the filter in Power BI is different in SQL Server ?

 

- count of records in Power BI and SQL Server is same.

 

See the screenshots below:

Power BIPower BISQL ServerSQL Server

3 REPLIES 3
v-yuezhe-msft
Employee
Employee

@Lemmon2314,

Could you please share dummy data of the Incidents table? I will test it in my environment.

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@Lemmon2314 My first guess would be your condition in SQL that the record be logged in month 1. I don't see that in the DAX filter and this could account for the slight difference in the value especially at the end of the month.


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

@Seth_C_Bauer HI Sir, i just do that to see the data in JANUARY only, so that when i highlighten the january, it will show the data only in january which is MONTH(LOGGED DATE)=1 in SQL

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.