Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello,
i'm working on a project on Power BI but i'm still a beginner, so i need some help 🙂
i have table 1 : "semaine" and table 2 : "stock projeté"
Table 1 : Semaine
Table 2 : stock projeté
I have a relation 1 to many between Table 1 and 2. (key : ComonPeriod.Week)
--> i want to get the last day of week of my common period.Week of my table 1 from the column "last day of week" of table 2.
Thanks in advance 🙂
Solved! Go to Solution.
Try as a column in your table 2 (you might need to check field/table spellings)
LastDayOfWeek = LookupValue('semaine'[Last Day of Week], 'semaine'[Common Period.Week], 'stock projeté'[Common Period.Week])
Try as a column in your table 2 (you might need to check field/table spellings)
LastDayOfWeek = LookupValue('semaine'[Last Day of Week], 'semaine'[Common Period.Week], 'stock projeté'[Common Period.Week])
i tried the formula, but it didn't work, i have a blank in all my column
You are trying to create a calculated column that pulls down the value from the Semaine table? In general, that is "not needed" -- you just use the value from Semaine.
But likely the calc column would be:
stock projeté[NewColumn] = RELATED(Semaine[Last Day Of Week])
i'm using a custom calendar, so when i import data from the BI, my week is like "Week 1,2017", and when i want to make date functions on my week i can't do it because when i change the type to date with power bi it gives me a weird number", so i'm trying to get "the last day of week " from table "semaine", and then make date functions on this date.
By the way i tried your formula, it gives me always 07/05/2017!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
124 | |
79 | |
50 | |
38 | |
38 |
User | Count |
---|---|
196 | |
80 | |
70 | |
51 | |
42 |