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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
dsapelak
New Member

Using PowerBI to pull dynamic data source

Community,

 

I save a sql server table once per month with a date at the end of the name.  Same fields every month, it's a snapshot of our business.  Something like 'Business_Data_08312016'

 

I'm trying to figure out a way to create a PowerBI report that looks at a rolling 13 months-worth of these tables.  The only way I have figured out so far is kind of terrible, which is to make sproc that unions all of these together into one big table.  It works but it's a major data duplication that doesn't seem necessary.

 

I am open to any ideas.

 

thanks.

2 REPLIES 2
Anonymous
Not applicable

@dsapelak "Major data duplication".. A union will only pull the unique records... Are you trying to reduce the record size, or just determine what is the most efficient way to extract the data?

 

ankitpatira
Community Champion
Community Champion

@dsapelak If you use power bi desktop easiest way is to use sql queries to import data from tables. So you can type in sql queries that looks at all the tables of the past 13 months and bring in their data.

 

Capture.PNG

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Kudoed Authors