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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Anonymous
Not applicable

Can I take the same column and split it into 2 columns with separate date filters?

We have a custom built report that we are trying to get to show us Year to date sales qty as well as passed year sales qty in columns next to each other. Is there a straightforward way of doing this? We are using "Sales_Qty" column from ItemSalesAndProfit table in Business Central to power BI desktop.

3 REPLIES 3
parry2k
Super User
Super User

@Anonymous if the other two fact tables are 1 to 1 relationship then you just need to connect your date table to one of the fact tables that contain the date columns.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

parry2k
Super User
Super User

@Anonymous there are tons of posts on how to get previous year sales, the fundamental here is that you need to date dimension in your model to get this going. And this dimension can be easily added, you can check my post here.

 

Check my latest blog post Compare Budgeted Scenarios vs. Actuals I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

@parry2k That is very helpful, thank you. I have added the date table but I don't know how to link it to my two other data sets or have it display as 2 separate columns (for example "Year to Date sales qty" and "Prior Year to Date sales qty". These are the data sets we are utilizing:

 

kamroyal_0-1612218556083.pngkamroyal_1-1612218576140.pngkamroyal_2-1612218610870.png

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors