Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
trupac
Frequent Visitor

Custom column is not filtering table

I have a matrix that filters my table.

 

I added a custom column with this formatted formula 

=Text.Insert(Text.Insert(Text.Insert(Text.Insert(Text.Insert ([WELL_LOCATION],3,"/"),6,"-"),9,"-"),13,"-"),18,"/")

 

I tried to replace WELL_LOCATION with this new formatted columm but now my table does not filter at all.

1 ACCEPTED SOLUTION
trupac
Frequent Visitor

I figured out an alternate way to fix my issue, instead of creating columns or measures in Power Bi, I just wrote the reformatting into my sql code and my tables and visuals all work now. 

View solution in original post

6 REPLIES 6
trupac
Frequent Visitor

I figured out an alternate way to fix my issue, instead of creating columns or measures in Power Bi, I just wrote the reformatting into my sql code and my tables and visuals all work now. 

Anonymous
Not applicable

Hi @trupac ,

 

It seems that you have gotten a solution. Could you please mark the helpful post as Answered? It will help the others in the community find the solution easily if they face the same problem as yours. Thank you.

 

 

Best Regards,

Clara Gong

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.

Anonymous
Not applicable

Hi @trupac ,

 

If you create a new custom column in power query, it will insert specific characters based on the specified position in your original text string [WELL_LOCATION].

 

So if your original WELL_LOCATION value is like "ABCDEFGHIJKLMNO", it will be converted to "ABC/DE-FG-HIJ-KLMN/O" and it will become the new column.

 

If you don't need the original column, then you can delete it and only keep the new custom column, and then use the new column for the matrix.

 

vkaiyuemsft_0-1729578333078.png

 

If your Current Period does not refer to this, please clarify in a follow-up reply.

 

Best Regards,

Clara Gong

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.

Hi Clara,

 

Thank you for the response, I have tried deleting the original WELL_LOCATION column but it breaks all the relationships to all the tables. I'm just trying to get my table to filter by the formatted column rather than the original and for some reason it won't work. 

Anonymous
Not applicable

Hi @trupac ,

 

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data. We can better understand the problem and help you.

 

 

Best Regards,

Clara Gong

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.

ghoshabhijeet
Solution Supplier
Solution Supplier

@trupac  Thank you for your query. Could you please share the pbix file with some sample data ? Thanks!

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors