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 brought in data from land registry which lists every borough in the UK. I only require the 33 London Boroughs. At the moment I have the data within excel and it filters it out via VBA. I know that VBA is not an option in Power Bi and wondered if there is a script/code which can be ran using M or DAX to filter and keep the 33 boroughs.
Many thanks in advance
Mehmet
Solved! Go to Solution.
Hi @mkani ,
In Power Query it is amazingly simple. Go to the top of the column. Click on the arrow key. Using Filter select the values you want. When you download to Power BI, you will only have those values in your table. As this becomes a step, when you refresh Power Query will continue to do this step.
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel
Proud to be a Super User!
Hi @mkani ,
In Power Query it is amazingly simple. Go to the top of the column. Click on the arrow key. Using Filter select the values you want. When you download to Power BI, you will only have those values in your table. As this becomes a step, when you refresh Power Query will continue to do this step.
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel
Proud to be a Super User!
@Nathaniel_C wrote:Hi @mkani ,
In Power Query it is amazingly simple. Go to the top of the column. Click on the arrow key. Using Filter select the values you want. When you download to Power BI, you will only have those values in your table. As this becomes a step, when you refresh Power Query will continue to do this step.
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel
Many thanks for your help and prompt response.
You are very welcomwe!
Proud to be a Super User!
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.