Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi All, I have attached a sample data where i have two sheets in Excel.
The data which i want from sheet 2 in sheet 1 is cloud classifciation column in sheet 1 cloud classification column but based on the condition that it picks the cloud classification value based on the latest date for the same name which exactly matches in sheet 1 and sheet 2.
I am sorry @Jihwan_Kim . I am actually looking for an Excel formula. If you can help me with it? I accidentally posted here on the Power BI community.
Hi,
I assume the two tables have the relationship like below.
Please check the below picture and the attached pbix file.
It is for creating a new column.
Classification CC =
SUMMARIZE (
CALCULATETABLE (
Sheet2,
TREATAS (
GROUPBY (
RELATEDTABLE ( Sheet2 ),
Sheet2[Name],
"@latest", MAXX ( CURRENTGROUP (), Sheet2[Date] )
),
Sheet2[Name],
Sheet2[Date]
)
),
Sheet2[Classification]
)
User | Count |
---|---|
25 | |
11 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
13 | |
12 | |
10 | |
6 |