Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello,
I have a location table. How do I filter (exclude) location that end in B? Unfortunately, I could not find a filter for 'does not end with'. Thanks.
Solved! Go to Solution.
Hi @Oros
You can try the End With option in the Power Query editor
Let me know if that works for you
If your requirement is solved, please mark THIS ANSWER as SOLUTION ✔️ and help other users find the solution quickly. Please hit the Thumbs Up 👍 button if this comment helps you.
Thanks
Pijush
Linkedin
Proud to be a Super User! | |
Create a Calculated Column:
You can add a new calculated column to your table using the DAX function RIGHT combined with LEN to check the last character of each location. If it's "B", assign a value that signifies exclusion. Here's the DAX formula:
Then you can hide blank from filter
If it helps Please Mark as a solution!
For more Power BI Tips and Trick check out https://powertipstricks.blogspot.com/ blog
Create a Calculated Column:
You can add a new calculated column to your table using the DAX function RIGHT combined with LEN to check the last character of each location. If it's "B", assign a value that signifies exclusion. Here's the DAX formula:
Then you can hide blank from filter
If it helps Please Mark as a solution!
For more Power BI Tips and Trick check out https://powertipstricks.blogspot.com/ blog
Hi @Oros
You can try the End With option in the Power Query editor
Let me know if that works for you
If your requirement is solved, please mark THIS ANSWER as SOLUTION ✔️ and help other users find the solution quickly. Please hit the Thumbs Up 👍 button if this comment helps you.
Thanks
Pijush
Linkedin
Proud to be a Super User! | |
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 38 | |
| 38 | |
| 28 | |
| 27 |
| User | Count |
|---|---|
| 124 | |
| 88 | |
| 73 | |
| 66 | |
| 65 |