Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
I’m running a compliance project that has work we need to do (WorkToDo column) mapped to each law that requires we do it (Law#1, Law#2, Law#3):
I’d like to generate a table that maps that shows each law mapped to the work required by it:
What’s the best way to do this?
Thanks!
unpiovt the table, then pivot it with another column, maybe like this
NewStep=let a=Table.ReplaceValue(PreviousStepName,"Yes",each [WorkToDo],(x,y,z)=>if x=y then z else null,List.RemoveItems(Table.ColumnNames(PreviousStepName),{"WorkToDo"})) in Table.Pivot(Table.UnpivotOtherColumns(a,{"WorkToDo"},"Laws","Value"),List.Distinct(a[WorkToDo]),"WorkToDo","Value",Text.Combine)
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
58 | |
53 | |
26 | |
16 | |
10 |