Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
drallam
Helper II
Helper II

Handling Weekly data files and visualizing history

HI,

 

I have data sets (excel Files) from each week and a new file is generated every week. how do i visualize that data and be dynamic?

 

Any ideas?

1 ACCEPTED SOLUTION
v-ljerr-msft
Employee
Employee

Hi @drallam,


I have data sets (excel Files) from each week and a new file is generated every week. how do i visualize that data and be dynamic?


As @Phil_Seamark has mentioned above, using Folder connector could be a good choice here in your scenario. For more details about how to import data from a folder in Power BI Desktop, you can refer to this article. Smiley Happy

Excatly. I;m trying to assign the dates in another column. you replied to that post too. 

Based on my test, you should be able to follow steps below to get your expected result. Smiley Happy

 

1. Use the formula below to add a custom column under Add Column tab in Query Editor.

=try Date.FromText([Column B]) otherwise null

c1.PNG

 

2. Use the Fill Down option to fill the null value with the corresponding date in the column.

filldown.PNG

r4.PNG

 

Regards

View solution in original post

5 REPLIES 5
v-ljerr-msft
Employee
Employee

Hi @drallam,


I have data sets (excel Files) from each week and a new file is generated every week. how do i visualize that data and be dynamic?


As @Phil_Seamark has mentioned above, using Folder connector could be a good choice here in your scenario. For more details about how to import data from a folder in Power BI Desktop, you can refer to this article. Smiley Happy

Excatly. I;m trying to assign the dates in another column. you replied to that post too. 

Based on my test, you should be able to follow steps below to get your expected result. Smiley Happy

 

1. Use the formula below to add a custom column under Add Column tab in Query Editor.

=try Date.FromText([Column B]) otherwise null

c1.PNG

 

2. Use the Fill Down option to fill the null value with the corresponding date in the column.

filldown.PNG

r4.PNG

 

Regards

Thanks for the solution. I was able to do this at 1 in the night lol. BUt I used a caveman's formula, instead of the nifty date from text.

= Table.AddColumn(#"Changed Type1", "Custom", each if Text.Contains([Employee ID],"AM") then [Employee ID] else "")

Then used fill down just like you did. 🙂 

Phil_Seamark
Employee
Employee

Hi @drallam

 

Power BI can import multiple files in the one folder including excel files and sew all the data together to be a single table.  Use the Query editor for this and make sure you deal with duplicates.

 

So long as you have a date column, you can aggregate this to weekly data and plot on any number of the visuals in Power BI.


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

Excatly. I;m trying to assign the dates in another column. you replied to that post too. 🙂

Excatly, I'm trying to get the date column. You replied to that post too Man Happy

Helpful resources

Announcements
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.