Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello,
I have power bi linked to a table of customers. It 2 fields, the customer ID and the customer status (subscribed or unsubscribed). There are no datestamps in the table.
Is there a way I can get power bi (on autorefresh) to scan this table once a day and append all the rows to the fact table in power bi, and populate a field with the snapshot date stamp. So that it would be a stacked table with all the rows of the customer table replicated, with each replication having the snapshot date showing in a date field?
Many thanks for your help,
PW
Solved! Go to Solution.
Hi @PowerWhy ,
Thanks for reaching out to the Microsoft fabric community forum.
I would recommend using dataflows.
After extracting data from your source
Use this command DateTime.LocalNow() in custom column, this will create a snapshot of data and time.
In dataflow we can configure destination, Use warehouse or lakehouse as the destination.
There you can configure the table to append
You can use pipeline to schedule refresh the dataflow
Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to give "Kudos"
Thanks and Regards
Hi @PowerWhy ,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the Community members for the issue worked. If our response addressed, please mark it as Accept as solution if you found it helpful.
Thanks ands regards
Hi @PowerWhy ,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.
Hi @PowerWhy
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Power BI doesn't natively support appending daily snapshots with timestamps during auto-refresh. To achieve this, consider the following approach:
External Data Storage:
Automate Data Capture with Power Automate:
Connect Power BI to the Historical Data:
This method allows you to maintain a historical record of daily snapshots, enabling trend analysis over time.
for further reference please visit --> https://blog.crossjoin.co.uk/2020/04/13/keep-the-existing-data-in-your-power-bi-dataset-and-add-new-...
and
https://jd-bots.com/2020/10/24/insert-rows-in-the-azure-sql-db-table-using-power-automate-send-api-r...
Hi @PowerWhy ,
Thanks for reaching out to the Microsoft fabric community forum.
I would recommend using dataflows.
After extracting data from your source
Use this command DateTime.LocalNow() in custom column, this will create a snapshot of data and time.
In dataflow we can configure destination, Use warehouse or lakehouse as the destination.
There you can configure the table to append
You can use pipeline to schedule refresh the dataflow
Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to give "Kudos"
Thanks and Regards
Power BI has no memory* . You need to manage your snapshots in the upstream system. * Yes, there is the self referencing option but that has no safety net.
Hi, @PowerWhy
In PQ, open the Customer table, and add a custom column using DateTime.LocalNow(). This custom column will capture the current datetime during each refresh.
Then append this table to your fact table. this should help achieve your result.
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
37 | |
26 | |
23 | |
19 | |
17 |
User | Count |
---|---|
49 | |
40 | |
24 | |
20 | |
20 |