Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi everyone,
I have an Excel File with the name Pricelist_01.01.2022-31.12.2023.xlx that is stored in a Sharepoint. This file contains product prices which are only valid for the period from 01.01.2022 to 31.12.2023. The data in the file looks like this:
I have a Power BI Sales Report, that shows the sales generated from the products.
I now need to implement a logic so that only the prices of the products contained in the excel with the name Pricelist_01.01.2022-31.12.2023.xlx are used for the sales calculations in the period from 01.01.2022 to 31.12.2023.
As soon as a new Excel with a new period (e.g. Pricelist_01.01.2023-31.12.2024.xlx) is loaded into the sharepoint, the old prices should no longer be used for the calculations in the Sales Report, but the new ones that are valid from 01.01.2023 to 31.12.2024. However, this only applies to the period, everything before the period should not be overwritten. Meaning the Calculations for eg. March 2022 must continue to be based on the prices from the Pricelist_01.01.2022-31.12.2023.xlx.
Is there a possibility to implement such a logic?
Many thanks in advance!
Solved! Go to Solution.
For your reference.
Step 1: I add a "FY" column and "Key column" below.
"Pricelist_01.01.2022-31.12.2023.xlx"
Step 2: I add a relationshop between "Pricelist Table" and "Sales Report Table" with "Key column".
For your reference.
Step 1: I add a "FY" column and "Key column" below.
"Pricelist_01.01.2022-31.12.2023.xlx"
Step 2: I add a relationshop between "Pricelist Table" and "Sales Report Table" with "Key column".
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.