Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I realized a strange behaviour (both in PBI Desktop and Service) related input paramaters in my SQL statement.
Below the example :
-------------------------------------------------------------------------------------------------------------------------
Datadd=Date.Day(DateTime.LocalNow),
Datamm=Date.Month(DateTime.LocalNow),
DataYYYY=Date.Year(DateTime.LocalNow),
DateToday = (DataYYYY *10000) + (Datamm *100) + Datadd,
DateStart = (DataYYYY *10000) + (Datamm *100) + 01,
DataEnd = (DataYYYY *10000) + (Datamm *100) + 31,
DataStartPrevYear = ((DataYYYY -1) *10000) + (Datamm *100) + 01,
DataEndPrevyea= ((DataYYYY -1) *10000) + (Datamm *100) + 31,
Origine = Oracle.Database ........ Query="select ((Item= "Number.ToText(DateStart)" and Item = "Number.ToText(DateEnd)") .....
--------------------------------------------------------------------------------------------------------------
Sql get perfectly the period I calculate in the variable parameters but at the end of period (Month) the change of the period happens not in real time (both in pbi desktop and service, it happens if I refresh the data in the Editor).
Is there any buffer managed in the system ?
I'm not able to understand this strange behavoiur.
Someone has already addressed this issue ?
The issue/behaviour I'm referring is not the SQL Query that is performed in real time or when I push refresh button, is the parameter that I set before the SQL statement that are not refreshed /updated (see my example)
Hi @beppe_62
The reason for this behavior is
when you interact with a visual, then the visual will update data, or you can also click on refresh button. Besides, here is an article showing how to deal with it, https://www.credera.com/insights/power-bi-directquery-automatically-refresh-less-than-every-15-minut...
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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
71 | |
56 | |
38 | |
35 |
User | Count |
---|---|
85 | |
66 | |
59 | |
46 | |
45 |