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.
To the experts:
How could I go from the 1sts column raw data to get results of the 2nd and 3rd column? Thanks so much.
Eleanor
Solved! Go to Solution.
If it helped then kindly marked it resolved.
@ewu PBIX is attached below signature. You first want to add an Index to your table in Power Query Editor.
Group =
VAR __Values = { "A", "B", "C" }
VAR __Current = [Raw Data]
VAR __Result =
IF(
__Current IN __Values,
__Current,
VAR __Index = [Index]
VAR __PrevIndex = MAXX( FILTER( 'Table', [Index] < __Index && [Raw Data] IN __Values ), [Index] )
VAR __Result = MAXX( FILTER( 'Table', [Index] = __PrevIndex ), [Raw Data] )
RETURN
__Result
)
RETURN
__Result
Latest Date =
VAR __Group = [Group]
VAR __Values = { "A", "B", "C" }
VAR __Table =
ADDCOLUMNS(
FILTER( 'Table', [Group] = __Group && NOT( [Raw Data] IN __Values ) ),
"__Date", DATEVALUE( [Raw Data] )
)
VAR __Result = MAXX( __Table, [__Date] )
RETURN
__Result
Crazy! Thanks very much!
Output =
CALCULATE (
MAX ( 'Table'[Date] ),
ALLEXCEPT (
'Table',
'Table'[Type]
)
)
There is one less row for 'A' in my data
Even crazier! 🙏🙏
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
18 | |
7 | |
7 | |
5 | |
5 |
User | Count |
---|---|
23 | |
10 | |
10 | |
9 | |
7 |