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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Sachy123
Helper V
Helper V

Get only 2 months old data while loading

I have imported Date Dimension which looks as below

 

 

DateDimension

DateID DateFormat1 DateFormat2 .. 

Now I want to load another dimension which is in the source data (but not yet connected or related with the DateDimension in my model) 

AccountBalanceDimension



AccountID , DateID  Balance Funds ...

While loading , I want to load Data based on DateID where DateID is between today and last 2 months. 

 

I am a little new to Power BI , so any simple explanation would be much helpful

 

 

 

1 ACCEPTED SOLUTION
PattemManohar
Community Champion
Community Champion

Instead of importing table, use "SQL Statement" option where you can filter the data as you need as well as the columns you would like to import.





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




View solution in original post

3 REPLIES 3
PattemManohar
Community Champion
Community Champion

Instead of importing table, use "SQL Statement" option where you can filter the data as you need as well as the columns you would like to import.





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




But how do I connect it to the Date Dimension which is already in the model? 

I mean how can I resolve it using Power Query?

Goto Data Section, Select the table and corresponding date field, use the filter option to set the date range. Make sure you have date field defined on that field.





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.