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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.