cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ChrisClever
Regular Visitor

Time intelligence without date column

Hi!

It looks like i stumbled upon a problem that i can't solve. I'm even starting to think it's unsolvable 🙂

 

I'm fetching data from sql:

ProjectTime spentTime planned
Proj1345999
Proj2234888

 

What i am trying to do is to add a column with last refresh date and append the table to another with historical data. So, that i have a log for every day with the values:

 

ProjectTime spentTime plannedDate
Proj13459992021-09-01
Proj22348882021-09-01
Proj13569992021-09-02
Proj22408882021-09-02
Proj13679992021-09-03
Proj22478882021-09-03

 

With rows added everyday.

Could you please help me out?

2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @ChrisClever 

 

Agree that Power BI is not a database to hold all historical data.

 

In this case, you could export data from this table into another table in database daily (maybe need more DB experience or automatic tools) and add a Date column in the new table which records when new data is inserted. Then connect to this new table with Power BI. You can also export data into other data sources like Excel or CSV files with exporting datetime in filenames. Then connect to these files and combine them into one table with Power Query Editor. 

 

Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

AlexisOlson
Super User
Super User

This is not time intelligence. This is trying to get Power BI to act like a database.

 

I think there are some convoluted hacks using incremental load that could achieve this but I'd strongly recommend using a different tool for creating and storing historical data.

Helpful resources

Announcements
Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors