Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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!