Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
From database we are having millions of rows(6months of data).i have to load the last 6 months data monthly once to bi.and i want to refresh the data daily(current month -start to day before yesterday).
Please tell me how it is possible.
Solved! Go to Solution.
In the Query Editor, you can specify a Date/Time Filter that will load records between the start of month and the day before yesterday.
The M function to calculate start of month is Date.StartOfMonth
And to calculate yesterday's date you need to use a combination of DateTime.LocalNow and Date.AddDays
Hi @kalpana,
Here is a similar thread for your reference: Get data for 1 week before depend on TODAY()
Best regards,
Yuliana Gu
In the Query Editor, you can specify a Date/Time Filter that will load records between the start of month and the day before yesterday.
The M function to calculate start of month is Date.StartOfMonth
And to calculate yesterday's date you need to use a combination of DateTime.LocalNow and Date.AddDays
User | Count |
---|---|
84 | |
80 | |
70 | |
47 | |
43 |
User | Count |
---|---|
108 | |
54 | |
50 | |
40 | |
40 |