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

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.

Reply
Syndicate_Admin
Administrator
Administrator

filtering a column in power query modifies the value of other fields in the table

Hi I need help because I don't understand how this happens.

The situation is as follows when filtering a column in power query changes the value of the records in other columns.

I share the example:

In the original table it is seen in this way the goalId "6226" has a certain value for the last two columns.

MarceloAguilar_1-1665484479114.png

but filtering the goalId column equal to "6226" changes the last columns change their value.

MarceloAguilar_0-1665484399267.png

What strikes me is that this happens only in some fields and that when you look at the original from where the data is generated in the filtered case you have the correct data.

Please help!

Thank you

2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @MarceloAguilar 

 

Does this table have duplicated 6226 values in goalId column? If it has multiple 6226s, rows may be reordered after filtering rows, so the first row is not the first row before filtering. You can try to filter by the last two fields to check if that row is still present after filtering to only have 6226.

 

If there is only one 6226, or you cannot find the row by filtering by the last two columns, can you let me know what data source this query is connected to and which connection mode is it (Import or DirectQuery)?

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Thank you for your reply,

The record of GoalId 6226 is unique, because this column would be the index of the table so there should not be two identical values.

The source of the data comes from a server in Mysql, so I was seeing by default the connection mode is being imported.

Best regards

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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