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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

Comparación entre columnas

Buenos dias, quisiera de su ayuda para poder realizar un filtro donde pueda identificar si las columnas difieren o son iguales.

 

Ejemplo.

 

Datos Viejos

1- 12345

2- 44444

3- 55555

4- 33333

 

Datos Nuevos

1- 12345

2- 33333

3- 55555

4- 88888

 

Quisiera hacer estos dos casos por favor:

a) Comparar la columna datos viejos con datos nuevos, seria como hacer un velookup y poder identificar que valor no tengo en el siguiente campo.

b) Poder ver si la linea 1 es igual a la linea 2

1 ACCEPTED SOLUTION
v-kelly-msft
Community Support
Community Support

Hi @Anonymous,

 

Go to query editor and add an index column in each table (dataset),as you see below:

Annotation 2020-04-27 145447.png

Then choose merge as new to create a merged table:

Annotation 2020-04-27 145543.png

Finally create a calculated column and you will see:

 

Column = IF('Merge1'[Column1]='Merge1'[Table (2).Column2],"same","different")

 

Annotation 2020-04-27 145851.png

Or create a measure and you will see:

 

Measure = IF(MAX('Merge1'[Column1])=MAX('Merge1'[Table (2).Column2]),"same","different")

 

Annotation 2020-04-27 145946.png

Here is the sample .pbix file you can refer to.

 

Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!

 

View solution in original post

1 REPLY 1
v-kelly-msft
Community Support
Community Support

Hi @Anonymous,

 

Go to query editor and add an index column in each table (dataset),as you see below:

Annotation 2020-04-27 145447.png

Then choose merge as new to create a merged table:

Annotation 2020-04-27 145543.png

Finally create a calculated column and you will see:

 

Column = IF('Merge1'[Column1]='Merge1'[Table (2).Column2],"same","different")

 

Annotation 2020-04-27 145851.png

Or create a measure and you will see:

 

Measure = IF(MAX('Merge1'[Column1])=MAX('Merge1'[Table (2).Column2]),"same","different")

 

Annotation 2020-04-27 145946.png

Here is the sample .pbix file you can refer to.

 

Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!

 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.