Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello,
I would like to combine rows that are identical and neighboring, see example below.
The order of the entries matters, since they have been listed chronologically.
Removing duplicates doesn't work, since the blue and grey rows are identical yet not neighboring.
I'd be grateful for any ideas how this could be solved 🙂
Kind regards,
Jama1234
Solved! Go to Solution.
@Anonymous
Hi
Select all the 3 columns>>>From the Transform Tab>>Group BY.
In the formula bar, just modify the formula by adding the text in red font below
= Table.Group(#"Changed Type", {"ID", "State", "Previous State"}, {{"ALL", each _, type table [ID=text, State=text, Previous State=text]}},GroupKind.Local)
@Anonymous
Hi
Select all the 3 columns>>>From the Transform Tab>>Group BY.
In the formula bar, just modify the formula by adding the text in red font below
= Table.Group(#"Changed Type", {"ID", "State", "Previous State"}, {{"ALL", each _, type table [ID=text, State=text, Previous State=text]}},GroupKind.Local)
Works perfectly! Thank you
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
13 | |
13 | |
10 | |
8 | |
7 |