Forum Discussion
Shee_powerbi
3 years agoFrequent Visitor
Flatten the rows based on common id
Hi, I am trying to create a table based on roles that employee has as per the excel file. Eg -
| Emp EmailID | Emp ID | Market | Region | Country | Area |
| [email protected] | WERQW | WGER | SW | ERL | |
| [email protected] | WERFQ | ERLA | BZ | EWD | |
| [email protected] | WERFQ | WDER | AU | ||
| [email protected] | WERDQ | EDER | ERNA | NY | ERZ |
Power Bi data
| Emp ID | Market | Region | Country | Area |
| WERQW | WGER | EWDF | SW | ERL |
| WERFQ | WQSD | ERLA | BZ | EWD |
| WERFQ | WDER | ERFG | AU | EGH |
| WERDQ | EDER | ERNA | NY | ERZ |
| WERDQ | EWTH | ERNO | NJ | ERS |
I need to match the employee roles in excel with those in power bi and create a table in power bi to add RLS using email id in the report. How do i flatten the table. Please help.
1 Reply
- v-xiaotang
Community Support
Hi Shee_powerbi
>> to create a table based on roles
it is not clear, please provide the expected output in table format, thanks
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.