Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi everyone,
I am facing very weird issue with Power BI service. It occurs only after data refresh.
I created report using Power BI desktop which is based on some calculations and filtering in Power Query. Everything works fine, I can refresh data as much times as I want and all data arrives as expected.
After publishing to Power BI service report also looks as it should but just after first online refresh part of the data gets away.
After deep analysis I spotted one interesting correlation - when I use some kind of date filter expressions in Power Query then I loose exact data after refresh in Power BI service. Adding example of my current date filter expression:
(Table.SelectRows(#"Filtered budget", each ([effective_from] = Date.StartOfMonth(Date.AddDays( Date.From(DateTime.FixedLocalNow()),-1)) ))
What I tried from recommended online solutions so far:
But that didn't work.
So now I am literally stuck without any other options. Maybe some one experienced the same problem also and found a way how to bypass it?
Regards,
I.
Solved! Go to Solution.
Here we can see that all date columns are without assigned data type what means date is assigned by default from Postgresql.
2. I got an idea to try assign data types. Just random guess, so I wrote code like that:
Here we can see that all date columns are without assigned data type what means date is assigned by default from Postgresql.
2. I got an idea to try assign data types. Just random guess, so I wrote code like that:
Thanks for sharing!
Hi @reports_lover95 ,
Recently one of our user have the same issue.You can check column quality of date/time columns and replace null values with some date incase if you any null values.please check your transformations once on every date/time columns.
I hope this steps will help to fix the issue.
Thanks,
Sai Teja
When it runs DateTime.FixedLocalNow(), it could be in UTC, ie you might get time zone issues. Have you considered that?
@Tutu_in_YYC wrote:When it runs DateTime.FixedLocalNow(), it could be in UTC, ie you might get time zone issues. Have you considered that?
Hi,
Of course it was considered and extra tests done with only filtered exact values: #date(2024, 6, 1), #date(2024, 5, 15) and etc.
After this try everything was the same - no data after refresh in PBI service for same tables where date columns were filtered.
Based on the filter, you want a specific date ie. [Effectivedate] = Today - 1 day.
Try running:
[effective_from] < Date.StartOfMonth(Date.AddDays( Date.From(DateTime.FixedLocalNow()),-1)) ))
If data comes through, it could mean you transformation is fine, and the issue could be data.
Also create another query that return just:
Date.StartOfMonth(Date.AddDays( Date.From(DateTime.FixedLocalNow()),-1)) ))
SO you can confirm exactly what date is being used to filter.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!