Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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)
User | Count |
---|---|
21 | |
19 | |
12 | |
10 | |
9 |
User | Count |
---|---|
30 | |
25 | |
15 | |
13 | |
10 |