Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi! I have this table:
Id | Name | Items | Date |
1 | A | Item 1 | 01-01-2021 |
Item 2 | |||
2 | B | Item 3 | 01-02-2021 |
3 | C | Item 4 | 01-01-2021 |
Item 5 | |||
Item 6 |
The data in the rows with the empty cells in Id, Name and Date belong to the previous not empty row, I need to combine the the data with a delimmter like this:
Id | Name | Items | Date |
1 | A | Item 1,Item 2 | 01-01-2021 |
2 | B | Item 3 | 01-02-2021 |
3 | C | Item 4,Item 5,Item 6 | 01-01-2021 |
Solved! Go to Solution.
Hi @itEquilibria ,
According to your description, you first need to use the filled down function in the power query. Then create a column and filter the rows whose ID is not empty in the table visual. I did a test, the reference is as follows:
Column =
CALCULATE (
CONCATENATEX ( VALUES ( 'Table'[Items] ), 'Table'[Items], "," ),
ALLEXCEPT ( 'Table', 'Table'[Id] )
)
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @itEquilibria ,
According to your description, you first need to use the filled down function in the power query. Then create a column and filter the rows whose ID is not empty in the table visual. I did a test, the reference is as follows:
Column =
CALCULATE (
CONCATENATEX ( VALUES ( 'Table'[Items] ), 'Table'[Items], "," ),
ALLEXCEPT ( 'Table', 'Table'[Id] )
)
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
You should fill the empry cells in Power Query using the Fill down option. You can then use CONCATENATEX to get the expected output
Proud to be a Super User!
Paul on Linkedin.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
94 | |
82 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |