Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi
I want to get the date from another table for the same Order ID and change it to the last day of the month.
How can I do that?
table1
table2
Solved! Go to Solution.
I assume you have some sort of relationship between the order IDs in both tables.
If so you can use RELATED[TransDate] to get the related transaction day. To get the last day of the related month, you need to wrap that in EOMONTH (End Of Month).
So overall, you will have something like:
NewColumn = EOMONTH(RELATED([TransDate]), 0)
I assume you have some sort of relationship between the order IDs in both tables.
If so you can use RELATED[TransDate] to get the related transaction day. To get the last day of the related month, you need to wrap that in EOMONTH (End Of Month).
So overall, you will have something like:
NewColumn = EOMONTH(RELATED([TransDate]), 0)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
48 | |
24 | |
20 | |
14 | |
12 |
User | Count |
---|---|
55 | |
48 | |
43 | |
19 | |
18 |