The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello good morning.
I have the following related tables, both tables have a field for when they were last modified, the relationship of my main table with the secondary one is one to many.
And I need to create a new table or column within the main table where I can see which two dates are the most recent, taking into account the secondary table may have one or more dates related to a single value from the main table.
@JesusMtzN
Create a table as follows:
New Table =
ADDCOLUMNS(
SUMMARIZE( Orders , Orders[ID_SC] , Orders[Modified_On]) ,
"Latest Modified Date" ,
MAX( Orders[Modified_On] , MAXX( RELATEDTABLE( Anotation ) , Anotation[Modified_On] ) )
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Thank you very much, it helped me a lot.
How could I implement this formula to create a new column within my main table.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
53 | |
22 | |
11 | |
10 | |
9 |
User | Count |
---|---|
113 | |
32 | |
30 | |
19 | |
18 |