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.
I want to group the ID and Name and add a new column based on the status of the end date. The new column would contain the ministry names (in one cell, separate by a comma) if the end date is 'null', but display nothing if no 'null' value showing for each ID at all.
The result should be like this
I'm not sure what technique should I use with Power Query. Please advice.
1. FIlter Null values in end date table
2. select id and name column and click group by
3. in operation select All Rows and click ok
4. go to add column >custom coluumn
add this m code in formula box
=Table.Column([Ministry],"Member.ministries.ministry.name")
click ok
5. click on extract values
6.Choose separator Comma and click ok.
remove unwanted column from table and you're done.
Thank you so much for your advice👏.
But if we filter out the null value, we'll lose Bruce (id 4) who no longer holds any position (should be blank in the Minster column).
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.